Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
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 |
|
136 |
|
|
|
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 Question")
|
134 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
135 |
|
136 |
|