Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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(
|