Spaces:
Runtime error
Runtime error
Commit
·
70ae03f
1
Parent(s):
24f1cbd
update UI
Browse files
app.py
CHANGED
@@ -677,7 +677,7 @@ def clearall():
|
|
677 |
memory.clear()
|
678 |
return []
|
679 |
|
680 |
-
def retry(
|
681 |
global last_request
|
682 |
print("last_request", last_request)
|
683 |
message = last_request
|
@@ -705,7 +705,7 @@ def retry(chatbot_history):
|
|
705 |
print("chathmi3 error:", e)
|
706 |
# yield chathmi3(last_request, chatbot_history)
|
707 |
|
708 |
-
with gr.Blocks() as demo:
|
709 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
710 |
# main = gr.ChatInterface(
|
711 |
# fake,
|
|
|
677 |
memory.clear()
|
678 |
return []
|
679 |
|
680 |
+
def retry(history):
|
681 |
global last_request
|
682 |
print("last_request", last_request)
|
683 |
message = last_request
|
|
|
705 |
print("chathmi3 error:", e)
|
706 |
# yield chathmi3(last_request, chatbot_history)
|
707 |
|
708 |
+
with gr.Blocks(css=".gradio-container {background-color: black}") as demo:
|
709 |
# gr.Markdown("Start typing below and then click **SUBMIT** to see the output.")
|
710 |
# main = gr.ChatInterface(
|
711 |
# fake,
|