Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -235,8 +235,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
235 |
with gr.Tab ("View PDF"):
|
236 |
pdf = PDF(label="Upload a PDF", interactive=True)
|
237 |
name = gr.Textbox()
|
238 |
-
|
239 |
-
pdf.upload(fn=view_pdf_name, inputs=[pdf], outputs=[pdf,name], api_name = "view_pdf_name")
|
240 |
|
241 |
with gr.Tab("Process PDF"):
|
242 |
pdf_input = gr.File(label="Upload PDF File")
|
|
|
235 |
with gr.Tab ("View PDF"):
|
236 |
pdf = PDF(label="Upload a PDF", interactive=True)
|
237 |
name = gr.Textbox()
|
238 |
+
pdf.upload(fn=view_pdf, inputs=[pdf], outputs=[pdf,name], api_name = "view_pdf")
|
|
|
239 |
|
240 |
with gr.Tab("Process PDF"):
|
241 |
pdf_input = gr.File(label="Upload PDF File")
|