Spaces:
Sleeping
Sleeping
ChloeCodes444
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ def query_model(question):
|
|
97 |
|
98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
99 |
welcome_message = """
|
100 |
-
# ♟️ Welcome to
|
101 |
|
102 |
-
## Your AI-driven
|
103 |
"""
|
104 |
|
105 |
topics = """
|
@@ -118,7 +118,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
118 |
with gr.Row():
|
119 |
with gr.Column():
|
120 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
121 |
-
answer = gr.Textbox(label="
|
122 |
submit_button = gr.Button("Submit")
|
123 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
124 |
|
|
|
97 |
|
98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
99 |
welcome_message = """
|
100 |
+
# ♟️ Welcome to Indigenous Peoples of the US Bot!
|
101 |
|
102 |
+
## Your AI-driven pocket professor for Indigenous land, tribe, and treaty queries in the US.
|
103 |
"""
|
104 |
|
105 |
topics = """
|
|
|
118 |
with gr.Row():
|
119 |
with gr.Column():
|
120 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
121 |
+
answer = gr.Textbox(label="Pocket Professor Response", placeholder="Pocket Professor will respond here...", interactive=False, lines=10)
|
122 |
submit_button = gr.Button("Submit")
|
123 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
124 |
|