dammy commited on
Commit
7c1d20d
·
1 Parent(s): 2347d67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -110,7 +110,10 @@ with gr.Blocks() as demo:
110
 
111
 
112
  # Event handler for uploading a PDF
113
- btn.upload(fn=upload_pdf, inputs="file", outputs="text")
 
 
 
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