kavansaun commited on
Commit
8e87ee5
·
verified ·
1 Parent(s): ce506db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
81
  Chatbot = gr.Chatbot(label="Anonymous User",layout=['bubble']) # Creating a gradio-chatbot User Interface with the label "Anonymous User".
82
 
83
  txt = gr.Textbox(show_label=False, placeholder = initial_message,container=False)
84
- txt.submit(None,txt,Chatbot)
85
  txt.submit(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.
86
 
87
  chatblock.launch() # launch!
 
81
  Chatbot = gr.Chatbot(label="Anonymous User",layout=['bubble']) # Creating a gradio-chatbot User Interface with the label "Anonymous User".
82
 
83
  txt = gr.Textbox(show_label=False, placeholder = initial_message,container=False)
84
+
85
  txt.submit(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.
86
 
87
  chatblock.launch() # launch!