Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,10 @@ with gr.Blocks() as demo:
|
|
110 |
|
111 |
|
112 |
# Event handler for uploading a PDF
|
113 |
-
|
|
|
|
|
|
|
114 |
|
115 |
demo.launch()
|
116 |
|
|
|
110 |
|
111 |
|
112 |
# Event handler for uploading a PDF
|
113 |
+
|
114 |
+
btn.upload(fn=upload_pdf, inputs=[btn], outputs=[btn])
|
115 |
+
|
116 |
+
|
117 |
|
118 |
demo.launch()
|
119 |
|