Spaces:
Sleeping
Sleeping
Update chatbot_ui.py
Browse files- chatbot_ui.py +1 -1
chatbot_ui.py
CHANGED
|
@@ -38,7 +38,7 @@ with gr.Blocks() as demo:
|
|
| 38 |
with gr.Column():
|
| 39 |
chatbot_output = gr.Textbox(label="Chatbot Response", interactive=False)
|
| 40 |
|
| 41 |
-
#
|
| 42 |
demo.load(lambda: "Welcome! How can I assist you with your studies today?", outputs=chatbot_output)
|
| 43 |
|
| 44 |
submit_button.click(chatbot_response, inputs=user_input, outputs=chatbot_output)
|
|
|
|
| 38 |
with gr.Column():
|
| 39 |
chatbot_output = gr.Textbox(label="Chatbot Response", interactive=False)
|
| 40 |
|
| 41 |
+
# Automatically simulate the first message
|
| 42 |
demo.load(lambda: "Welcome! How can I assist you with your studies today?", outputs=chatbot_output)
|
| 43 |
|
| 44 |
submit_button.click(chatbot_response, inputs=user_input, outputs=chatbot_output)
|