Spaces:
Sleeping
Sleeping
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 |
-
# ♟️ Welcome to
|
112 |
|
113 |
## Your AI-driven assistant for all chess-related queries. Created by SCHOLAR1, SCHOLAR2, and SCHOLAR3 of the 2024 Kode With Klossy CITY Camp.
|
114 |
"""
|
@@ -132,7 +132,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
132 |
with gr.Row():
|
133 |
with gr.Column():
|
134 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
135 |
-
answer = gr.Textbox(label="
|
136 |
submit_button = gr.Button("Submit")
|
137 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
138 |
|
|
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
+
# ♟️ Welcome to AquaGuard!
|
112 |
|
113 |
## Your AI-driven assistant for all chess-related queries. Created by SCHOLAR1, SCHOLAR2, and SCHOLAR3 of the 2024 Kode With Klossy CITY Camp.
|
114 |
"""
|
|
|
132 |
with gr.Row():
|
133 |
with gr.Column():
|
134 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
135 |
+
answer = gr.Textbox(label="AquaGuard Response", placeholder="AquaGuard will respond here...", interactive=False, lines=10)
|
136 |
submit_button = gr.Button("Submit")
|
137 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
138 |
|