Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
fe15572
1
Parent(s):
4d043e4
webui.py
CHANGED
@@ -9,16 +9,16 @@ def add_text(history, text):
|
|
9 |
|
10 |
|
11 |
def add_file(history, file):
|
12 |
-
history = history + [(('./outputs/a.png',),
|
13 |
return history
|
14 |
|
15 |
|
16 |
def bot(history):
|
17 |
response = "**That's cool!**"
|
18 |
-
history[-1][1] = ""
|
19 |
for character in response:
|
20 |
-
history[-1][1] += character
|
21 |
-
time.sleep(0.05)
|
22 |
yield history
|
23 |
|
24 |
|
|
|
9 |
|
10 |
|
11 |
def add_file(history, file):
|
12 |
+
history = history + [(('./outputs/a.png',), ('./outputs/a.png', './outputs/a.png'))]
|
13 |
return history
|
14 |
|
15 |
|
16 |
def bot(history):
|
17 |
response = "**That's cool!**"
|
18 |
+
# history[-1][1] = ""
|
19 |
for character in response:
|
20 |
+
# history[-1][1] += character
|
21 |
+
# time.sleep(0.05)
|
22 |
yield history
|
23 |
|
24 |
|