Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ if __name__ == "__main__":
|
|
| 117 |
|
| 118 |
# Define the Gradio interface
|
| 119 |
# iface = gr.Interface(fn=process_pdf,
|
| 120 |
-
demo = gr.Interface(fn=
|
| 121 |
inputs=gr.File(type="binary", label="Upload PDF"),
|
| 122 |
outputs=gr.Textbox(label="Extracted Text"),
|
| 123 |
title="PDF Text Extractor",
|
|
|
|
| 117 |
|
| 118 |
# Define the Gradio interface
|
| 119 |
# iface = gr.Interface(fn=process_pdf,
|
| 120 |
+
demo = gr.Interface(fn=process_pdf,
|
| 121 |
inputs=gr.File(type="binary", label="Upload PDF"),
|
| 122 |
outputs=gr.Textbox(label="Extracted Text"),
|
| 123 |
title="PDF Text Extractor",
|