aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index e2ec8bd..f392b11 100644
--- a/bot.py
+++ b/bot.py
@@ -77,6 +77,10 @@ output = tokenizer.decode(model.generate(
print(output)
+if args.instance is None:
+ quit()
+
+
# Prepare the post
output = output.split('\n')
post = output[0]