on1onmangoes commited on
Commit
be6ffa5
·
verified ·
1 Parent(s): 6f25779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -220,6 +220,9 @@ with gr.Blocks(css=CSS) as demo:
220
  ),
221
  ],
222
  )
 
 
 
223
 
224
  with gr.Tab("Process PDF"):
225
  pdf_input = gr.File(label="Upload PDF File")
 
220
  ),
221
  ],
222
  )
223
+ pdf = PDF(label="View a PDF", interactive=True)
224
+ name = gr.Textbox()
225
+ pdf.upload(lambda f: f, pdf, name)
226
 
227
  with gr.Tab("Process PDF"):
228
  pdf_input = gr.File(label="Upload PDF File")