lol i can not maintain a project
This commit is contained in:
parent
e500cf705d
commit
36e673fad9
1 changed files with 2 additions and 1 deletions
3
gen.py
3
gen.py
|
@ -1,5 +1,6 @@
|
||||||
import markovify
|
import markovify
|
||||||
import json
|
import json
|
||||||
|
import time
|
||||||
from mastodon import Mastodon
|
from mastodon import Mastodon
|
||||||
|
|
||||||
api_base_url = "https://botsin.space"
|
api_base_url = "https://botsin.space"
|
||||||
|
@ -16,7 +17,7 @@ print("Running...")
|
||||||
while True:
|
while True:
|
||||||
print("tooting")
|
print("tooting")
|
||||||
# This is not the best long term fix tbh
|
# This is not the best long term fix tbh
|
||||||
sentance = None
|
sentence = None
|
||||||
while sentence is None:
|
while sentence is None:
|
||||||
sentence = model.make_sentence()
|
sentence = model.make_sentence()
|
||||||
client.toot(sentence.replace(chr(31), "\n"))
|
client.toot(sentence.replace(chr(31), "\n"))
|
||||||
|
|
Loading…
Reference in a new issue