sblumenf commited on
Commit
17a6f17
1 Parent(s): 8ee8372

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import pdfminer
3
 
4
- def read_pdf(file)
5
  from pdfminer.high_level import extract_text
6
  text = extract_text(file.name)
7
  return text
 
1
  import gradio as gr
2
  import pdfminer
3
 
4
+ def read_pdf(file):
5
  from pdfminer.high_level import extract_text
6
  text = extract_text(file.name)
7
  return text