Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,12 +116,7 @@ if __name__ == "__main__":
|
|
| 116 |
|
| 117 |
# Define the Gradio interface
|
| 118 |
# iface = gr.Interface(fn=process_pdf,
|
| 119 |
-
|
| 120 |
-
inputs=gr.File(type="binary", label="Upload PDF"),
|
| 121 |
-
outputs=gr.Textbox(label="Extracted Text"),
|
| 122 |
-
title="PDF Text Extractor",
|
| 123 |
-
description="Upload a PDF file to extract.")
|
| 124 |
-
demo.launch()
|
| 125 |
|
| 126 |
|
| 127 |
|
|
|
|
| 116 |
|
| 117 |
# Define the Gradio interface
|
| 118 |
# iface = gr.Interface(fn=process_pdf,
|
| 119 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
|