MissieMcCown commited on
Commit
ab79fd0
·
verified ·
1 Parent(s): 24f07ac

Update chatbot_ui.py

Browse files
Files changed (1) hide show
  1. 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
- # Trigger a welcome message on app launch
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)