Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks(theme=theme, css="""
|
|
148 |
with gr.Column():
|
149 |
gr.Markdown("## π Document Input")
|
150 |
pdf_display = gr.Textbox(label="Active Document", interactive=False, elem_classes="pdf-active")
|
151 |
-
pdf_file = gr.File(file_types=[".pdf"], type="
|
152 |
process_btn = gr.Button("π€ Process Document", variant="primary")
|
153 |
status_box = gr.Textbox(label="Status", interactive=False)
|
154 |
|
|
|
148 |
with gr.Column():
|
149 |
gr.Markdown("## π Document Input")
|
150 |
pdf_display = gr.Textbox(label="Active Document", interactive=False, elem_classes="pdf-active")
|
151 |
+
pdf_file = gr.File(file_types=[".pdf"], type="filepath")
|
152 |
process_btn = gr.Button("π€ Process Document", variant="primary")
|
153 |
status_box = gr.Textbox(label="Status", interactive=False)
|
154 |
|