Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def query_model(question):
|
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
-
|
112 |
|
113 |
## Your AI-driven assistant for destressing and extracurricular opportunity queries. Created by Olivia W, Alice T, and Cindy W of the 2024 Kode With Klossy CITY Camp.
|
114 |
"""
|
@@ -154,7 +154,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
154 |
gr.Markdown(topics) # Show the topics on the left side
|
155 |
with gr.Row():
|
156 |
with gr.Column():
|
157 |
-
question = gr.Textbox(label="Your
|
158 |
answer = gr.Textbox(label="CalmConnect Response", placeholder="CalmConnect will respond here...", interactive=False, lines=10)
|
159 |
submit_button = gr.Button("Submit")
|
160 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
|
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
+
#🪷 Welcome to CalmConnect!
|
112 |
|
113 |
## Your AI-driven assistant for destressing and extracurricular opportunity queries. Created by Olivia W, Alice T, and Cindy W of the 2024 Kode With Klossy CITY Camp.
|
114 |
"""
|
|
|
154 |
gr.Markdown(topics) # Show the topics on the left side
|
155 |
with gr.Row():
|
156 |
with gr.Column():
|
157 |
+
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
158 |
answer = gr.Textbox(label="CalmConnect Response", placeholder="CalmConnect will respond here...", interactive=False, lines=10)
|
159 |
submit_button = gr.Button("Submit")
|
160 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|