Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 155 |
# interactive = True )
|
| 156 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 157 |
gr.Markdown(space)
|
| 158 |
-
submit_button = gr.Button("Submit"
|
| 159 |
answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)
|
| 160 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 161 |
|
|
|
|
| 155 |
# interactive = True )
|
| 156 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 157 |
gr.Markdown(space)
|
| 158 |
+
submit_button = gr.Button("Submit")
|
| 159 |
answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)
|
| 160 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 161 |
|