hamzaf commited on
Commit
361f57f
1 Parent(s): 59004dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks() as demo:
123
  change_api_key.click(fn=enable_api_box, outputs=[api_key])
124
 
125
  # Event handler for uploading a PDF
126
- btn.upload(fn=render_first, inputs=[btn], outputs=[show_img])
127
 
128
  # Event handler for submitting text and generating response
129
  submit_btn.click(
 
123
  change_api_key.click(fn=enable_api_box, outputs=[api_key])
124
 
125
  # Event handler for uploading a PDF
126
+ btn.upload(fn=render_file, inputs=[btn], outputs=[show_img])
127
 
128
  # Event handler for submitting text and generating response
129
  submit_btn.click(