This commit is contained in:
lvmin 2023-08-10 14:59:46 -07:00
parent 1f93b3d109
commit 3c8d5f1f9c
1 changed files with 4 additions and 4 deletions

View File

@ -9,16 +9,16 @@ def add_text(history, text):
def add_file(history, file):
history = history + [(('./outputs/a.png',), None)]
history = history + [(('./outputs/a.png',), ('./outputs/a.png', './outputs/a.png'))]
return history
def bot(history):
response = "**That's cool!**"
history[-1][1] = ""
# history[-1][1] = ""
for character in response:
history[-1][1] += character
time.sleep(0.05)
# history[-1][1] += character
# time.sleep(0.05)
yield history