Update app.py
Browse files
app.py
CHANGED
|
@@ -155,9 +155,9 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 155 |
with gr.Row():
|
| 156 |
with gr.Column():
|
| 157 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
|
|
|
| 158 |
submit_button = gr.Button("Submit")
|
| 159 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 160 |
-
answer = gr.Textbox(label="CalmConnect's Response", placeholder="CalmConnect will respond here...", interactive=False, lines=10)
|
| 161 |
|
| 162 |
|
| 163 |
# Launch the Gradio app to allow user interaction
|
|
|
|
| 155 |
with gr.Row():
|
| 156 |
with gr.Column():
|
| 157 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
| 158 |
+
answer = gr.Textbox(label="CalmConnect's Response", placeholder="CalmConnect will respond here...", interactive=False, lines=10)
|
| 159 |
submit_button = gr.Button("Submit")
|
| 160 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
|
|
|
| 161 |
|
| 162 |
|
| 163 |
# Launch the Gradio app to allow user interaction
|