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