jpangas commited on
Commit
1ca5036
·
verified ·
1 Parent(s): 7b7e1a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def extract_text(file):
8
 
9
  #Ask Dr Ahmad about which LLM to use and if we have a token for it
10
  with gr.Blocks() as demo:
11
- file_input = gr.File(label="Upload a research paper as a pdf file", file_types=["pdf"])
12
  text_output = gr.Textbox(label="Extracted Text")
13
 
14
  file_input.change(fn=extract_text, inputs=file_input, outputs=text_output)
 
8
 
9
  #Ask Dr Ahmad about which LLM to use and if we have a token for it
10
  with gr.Blocks() as demo:
11
+ file_input = gr.File(label="Upload a research paper as a pdf file", file_types=[".pdf"])
12
  text_output = gr.Textbox(label="Extracted Text")
13
 
14
  file_input.change(fn=extract_text, inputs=file_input, outputs=text_output)