Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,10 +81,10 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
|
|
| 81 |
return response # Returning the chat bot response
|
| 82 |
|
| 83 |
def return_sent():
|
| 84 |
-
return gr.Textbox(show_label = False, placeholder = 'message sent, please wait...', container = False
|
| 85 |
|
| 86 |
def return_placeholder():
|
| 87 |
-
return gr.Textbox(value = None, 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".
|
|
|
|
| 81 |
return response # Returning the chat bot response
|
| 82 |
|
| 83 |
def return_sent():
|
| 84 |
+
return gr.Textbox(show_label = False, placeholder = 'message sent, please wait...', container = False)
|
| 85 |
|
| 86 |
def return_placeholder():
|
| 87 |
+
return gr.Textbox(value = None, 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".
|