Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,6 +163,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 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 |
|
| 167 |
convert_button = gr.Button("🔄 Index documents")
|
| 168 |
message = gr.Textbox("Files not yet uploaded", label="Status")
|
|
|
|
| 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")
|
| 169 |
message = gr.Textbox("Files not yet uploaded", label="Status")
|