BeastGokul commited on
Commit
3e03327
·
verified ·
1 Parent(s): ee79f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
  examples=example_queries,
43
  inputs=query_input
44
  )
45
-
46
- query_input.submit(get_biomedical_response, query_input, response_output)
47
 
48
  demo.launch()
 
42
  examples=example_queries,
43
  inputs=query_input
44
  )
45
+ submit_button = gr.Button("Submit")
46
+ submit_button.click(get_biomedical_response, query_input, response_output)
47
 
48
  demo.launch()