Spaces:
Sleeping
Sleeping
sadiaislam31
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
191 |
with gr.Column():
|
192 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
193 |
answer = gr.Textbox(label="ScholarSage Response", placeholder="ScholarSage will respond here...", interactive=False, lines=10)
|
194 |
-
submit_button = gr.Button("
|
195 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
196 |
|
197 |
|
|
|
191 |
with gr.Column():
|
192 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
193 |
answer = gr.Textbox(label="ScholarSage Response", placeholder="ScholarSage will respond here...", interactive=False, lines=10)
|
194 |
+
submit_button = gr.Button("Submit")
|
195 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
196 |
|
197 |
|