kavansaun commited on
Commit
f8012e5
·
verified ·
1 Parent(s): df8a9b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
84
  return 'message sent, please wait...'
85
 
86
  def return_placeholder():
87
- return placeholder = initial_message
88
 
89
  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)
90
  Chatbot = gr.Chatbot(label="Anonymous User",layout=['bubble']) # Creating a gradio-chatbot User Interface with the label "Anonymous User".
 
84
  return 'message sent, please wait...'
85
 
86
  def return_placeholder():
87
+ return gr.Textbox(show_label = False, placeholder = initial_message, container = False)
88
 
89
  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)
90
  Chatbot = gr.Chatbot(label="Anonymous User",layout=['bubble']) # Creating a gradio-chatbot User Interface with the label "Anonymous User".