Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -128,8 +128,8 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
128 |
gr.Markdown(topics) # Show the topics on the left side
|
129 |
with gr.Row():
|
130 |
with gr.Column():
|
131 |
-
question = gr.Textbox(label="Your question", placeholder="
|
132 |
-
answer = gr.Textbox(label="
|
133 |
submit_button = gr.Button("Submit")
|
134 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
135 |
|
|
|
128 |
gr.Markdown(topics) # Show the topics on the left side
|
129 |
with gr.Row():
|
130 |
with gr.Column():
|
131 |
+
question = gr.Textbox(label="Your question", placeholder="Type your question here...")
|
132 |
+
answer = gr.Textbox(label="GreenUnity Response", placeholder="GreenUnity will respond here...", interactive=False, lines=10)
|
133 |
submit_button = gr.Button("Submit")
|
134 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
135 |
|