Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
162 |
with gr.Column(scale=2):
|
163 |
gr.Markdown("## 1️⃣ Upload PDFs")
|
164 |
# file = gr.File(file_types=["pdf"], file_count="multiple", label="Upload PDFs")
|
165 |
-
file = PDF(label="PDF Document")
|
166 |
print(file)
|
167 |
|
168 |
convert_button = gr.Button("🔄 Index documents")
|
|
|
162 |
with gr.Column(scale=2):
|
163 |
gr.Markdown("## 1️⃣ Upload PDFs")
|
164 |
# file = gr.File(file_types=["pdf"], file_count="multiple", label="Upload PDFs")
|
165 |
+
file = [PDF(label="PDF Document")]
|
166 |
print(file)
|
167 |
|
168 |
convert_button = gr.Button("🔄 Index documents")
|