shivansarora commited on
Commit
4996f90
Β·
verified Β·
1 Parent(s): 435c704

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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], clear_on_submit=True)
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)