kavansaun commited on
Commit
6f24e61
·
verified ·
1 Parent(s): 1a7a66a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
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,layout: ['bubble'])
84
  txt.submit(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.
85
 
86
  chatblock.launch() # launch!
 
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,layout:'bubble')
84
  txt.submit(predict_prompt, [txt, user_id], Chatbot) # Adding the messages into the row with gradio.
85
 
86
  chatblock.launch() # launch!