andreeabodea commited on
Commit
a5cf12d
·
verified ·
1 Parent(s): a2f836f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ if __name__ == "__main__":
116
 
117
  # Define the Gradio interface
118
  # iface = gr.Interface(fn=process_pdf,
119
- demo = gr.Interface(fn=get_first_page_text,
120
  inputs=gr.File(type="binary", label="Upload PDF"),
121
  outputs=gr.Textbox(label="Extracted Text"),
122
  title="PDF Text Extractor",
 
116
 
117
  # Define the Gradio interface
118
  # iface = gr.Interface(fn=process_pdf,
119
+ demo = gr.Interface(fn=process_pdf,
120
  inputs=gr.File(type="binary", label="Upload PDF"),
121
  outputs=gr.Textbox(label="Extracted Text"),
122
  title="PDF Text Extractor",