Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def query_model(question):
|
|
110 |
welcome_message = """
|
111 |
# ♟️ Welcome to ChessBot!
|
112 |
|
113 |
-
## Your AI-driven assistant for all chess-related queries. Created by
|
114 |
"""
|
115 |
|
116 |
topics = """
|
@@ -133,7 +133,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
133 |
with gr.Row():
|
134 |
with gr.Column():
|
135 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
136 |
-
answer = gr.Textbox(label="
|
137 |
submit_button = gr.Button("Submit")
|
138 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
139 |
|
|
|
110 |
welcome_message = """
|
111 |
# ♟️ Welcome to ChessBot!
|
112 |
|
113 |
+
## Your AI-driven assistant for all chess-related queries. Created by Perennial, Jiya, and Ly-Ly of the 2024 Kode With Klossy San Francisco Camp.
|
114 |
"""
|
115 |
|
116 |
topics = """
|
|
|
133 |
with gr.Row():
|
134 |
with gr.Column():
|
135 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
136 |
+
answer = gr.Textbox(label="Plai Response", placeholder="Plai will respond here...", interactive=False, lines=10)
|
137 |
submit_button = gr.Button("Submit")
|
138 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
139 |
|