Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ with gr.Blocks() as demo:
|
|
98 |
clear = gr.ClearButton([msg, chatbot])
|
99 |
|
100 |
#demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
|
101 |
-
msg.submit(
|
102 |
|
103 |
if __name__ == "__main__":
|
104 |
init()
|
|
|
98 |
clear = gr.ClearButton([msg, chatbot])
|
99 |
|
100 |
#demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
|
101 |
+
msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
|
102 |
|
103 |
if __name__ == "__main__":
|
104 |
init()
|