Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,6 +131,6 @@ def chat(user_input):
|
|
| 131 |
with gr.Blocks() as demo:
|
| 132 |
chatbot = gr.Chatbot(label="Adaptive CEFR chatbot")
|
| 133 |
msg = gr.Textbox(placeholder="Type your message here...")
|
| 134 |
-
msg.submit(chat, inputs=msg, outputs=[chatbot, msg]
|
| 135 |
|
| 136 |
demo.launch(server_name="0.0.0.0", server_port=7860, share=False, ssr_mode=False)
|
|
|
|
| 131 |
with gr.Blocks() as demo:
|
| 132 |
chatbot = gr.Chatbot(label="Adaptive CEFR chatbot")
|
| 133 |
msg = gr.Textbox(placeholder="Type your message here...")
|
| 134 |
+
msg.submit(chat, inputs=msg, outputs=[chatbot, msg])
|
| 135 |
|
| 136 |
demo.launch(server_name="0.0.0.0", server_port=7860, share=False, ssr_mode=False)
|