Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
import pdfplumber
|
3 |
import re
|
4 |
import gradio as gr
|
@@ -118,6 +119,6 @@ iface = gr.Interface(fn=process_pdf,
|
|
118 |
inputs=gr.File(type="binary", label="Upload PDF"),
|
119 |
outputs=gr.Textbox(label="Extracted Text"),
|
120 |
title="PDF Text Extractor",
|
121 |
-
description="Upload a PDF file to extract
|
122 |
|
123 |
iface.launch()
|
|
|
1 |
import os
|
2 |
+
import io
|
3 |
import pdfplumber
|
4 |
import re
|
5 |
import gradio as gr
|
|
|
119 |
inputs=gr.File(type="binary", label="Upload PDF"),
|
120 |
outputs=gr.Textbox(label="Extracted Text"),
|
121 |
title="PDF Text Extractor",
|
122 |
+
description="Upload a PDF file to extract.")
|
123 |
|
124 |
iface.launch()
|