andreeabodea commited on
Commit
bb17cef
1 Parent(s): 3c27b3e

Update app.py

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