Add a no-op none backend for bot.py

This commit is contained in:
Anthony Wang 2022-03-01 08:46:01 -06:00
parent 81a13d37fb
commit 3de96f721a
Signed by: a
GPG key ID: BC96B00AEC5F2D76

2
bot.py
View file

@ -5,7 +5,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
parser = ArgumentParser()
parser.add_argument('-b', '--backend', choices=['mastodon', 'misskey', 'matrix'], default='mastodon',
parser.add_argument('-b', '--backend', choices=['mastodon', 'misskey', 'matrix', 'none'], default='mastodon',
help='fediverse server type')
parser.add_argument('-i', '--instance', help='Mastodon instance hosting the bot')
parser.add_argument('-t', '--token', help='Mastodon application access token')