Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 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!
|