Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ with gr.Blocks() as demo:
|
|
| 26 |
msg = gr.Textbox()
|
| 27 |
clear = gr.ClearButton([msg, chatbot])
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
|
| 32 |
|
|
|
|
| 26 |
msg = gr.Textbox()
|
| 27 |
clear = gr.ClearButton([msg, chatbot])
|
| 28 |
|
| 29 |
+
msg.submit(generate_text, [msg, chatbot], [msg, chatbot])
|
| 30 |
|
| 31 |
|
| 32 |
|