Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
123 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
124 |
-
answer = gr.Textbox(label="
|
125 |
submit_button = gr.Button("Submit")
|
126 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
127 |
|
|
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|
123 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
124 |
+
answer = gr.Textbox(label="SocialAdvisor Response", placeholder="SocialAdvisor will respond here...", interactive=False, lines=10)
|
125 |
submit_button = gr.Button("Submit")
|
126 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
127 |
|