Muzammil6376 commited on
Commit
2a5e7fc
Β·
verified Β·
1 Parent(s): a87e53d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file")
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