Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -152,8 +152,8 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
152 |
with gr.Row():
|
153 |
with gr.Column():
|
154 |
question = gr.Textbox(label="Your question", placeholder="Which type of trash do you want to ask about?")
|
155 |
-
answer = gr.Textbox(label="GreenGuide Response", placeholder="GreenGuide will respond here...", interactive=False, lines=10)
|
156 |
submit_button = gr.Button("Submit")
|
|
|
157 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
158 |
gr.Markdown(thankyou_message)
|
159 |
|
|
|
152 |
with gr.Row():
|
153 |
with gr.Column():
|
154 |
question = gr.Textbox(label="Your question", placeholder="Which type of trash do you want to ask about?")
|
|
|
155 |
submit_button = gr.Button("Submit")
|
156 |
+
answer = gr.Textbox(label="GreenGuide Response", placeholder="GreenGuide will respond here...", interactive=False, lines=10)
|
157 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
158 |
gr.Markdown(thankyou_message)
|
159 |
|