mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
i
This commit is contained in:
@@ -9,16 +9,16 @@ def add_text(history, text):
|
|||||||
|
|
||||||
|
|
||||||
def add_file(history, file):
|
def add_file(history, file):
|
||||||
history = history + [(('./outputs/a.png',), None)]
|
history = history + [(('./outputs/a.png',), ('./outputs/a.png', './outputs/a.png'))]
|
||||||
return history
|
return history
|
||||||
|
|
||||||
|
|
||||||
def bot(history):
|
def bot(history):
|
||||||
response = "**That's cool!**"
|
response = "**That's cool!**"
|
||||||
history[-1][1] = ""
|
# history[-1][1] = ""
|
||||||
for character in response:
|
for character in response:
|
||||||
history[-1][1] += character
|
# history[-1][1] += character
|
||||||
time.sleep(0.05)
|
# time.sleep(0.05)
|
||||||
yield history
|
yield history
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user