Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdating gradio code block
app.py
CHANGED
|
@@ -98,6 +98,6 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 98 |
input_box = gr.Textbox(label="Enter your question for BookBrain")
|
| 99 |
output_box = gr.Textbox(label="Response")
|
| 100 |
submit_btn = gr.Button("Submit")
|
| 101 |
-
submit_btn.click(
|
| 102 |
|
| 103 |
demo.launch()
|
|
|
|
| 98 |
input_box = gr.Textbox(label="Enter your question for BookBrain")
|
| 99 |
output_box = gr.Textbox(label="Response")
|
| 100 |
submit_btn = gr.Button("Submit")
|
| 101 |
+
submit_btn.click(inputs=input_box, outputs=output_box)
|
| 102 |
|
| 103 |
demo.launch()
|