kavansaun commited on
Commit
032d76d
·
verified ·
1 Parent(s): a559456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
78
 
79
 
80
  initial_message = "Please write your prompt here and press 'enter'" # Initial message for the User Interface (basically the message for the typing input area so change the message under the quotes if you want to change that)
81
- Chatbot = gr.Chatbot(label="Anonymous User",group_consecutive_messages=False,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(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.
 
78
 
79
 
80
  initial_message = "Please write your prompt here and press 'enter'" # Initial message for the User Interface (basically the message for the typing input area so change the message under the quotes if you want to change that)
81
+ Chatbot = gr.Chatbot(label="Anonymous User",group_consecutive_messages=False) # 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(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.