Spaces:
Runtime error
Runtime error
Commit
·
641237a
1
Parent(s):
8ff0718
update UI
Browse files
app.py
CHANGED
@@ -754,7 +754,7 @@ def chathmi4(message, history2):
|
|
754 |
last_request = message
|
755 |
history2 = history2 + [(message, None)]
|
756 |
# yield ["", history2, gr.update(visible = False), gr.update(visible = True)]
|
757 |
-
yield ["", history2,
|
758 |
try:
|
759 |
response = agent.run(message)
|
760 |
time.sleep(0.1)
|
|
|
754 |
last_request = message
|
755 |
history2 = history2 + [(message, None)]
|
756 |
# yield ["", history2, gr.update(visible = False), gr.update(visible = True)]
|
757 |
+
yield ["", history2, "SUBMIT", "STOP"]
|
758 |
try:
|
759 |
response = agent.run(message)
|
760 |
time.sleep(0.1)
|