aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]