Spaces:
Runtime error
Runtime error
Commit
·
97b217e
1
Parent(s):
ab92aa9
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,6 @@ What to Deliver: Upload a compressed folder with a .zip or .rar extension. The f
|
|
18 |
#Install and import
|
19 |
"""
|
20 |
|
21 |
-
#!pip install -q gradio torch transformers
|
22 |
|
23 |
#from IPython.display import Audio
|
24 |
from transformers import pipeline
|
@@ -35,16 +34,6 @@ import os
|
|
35 |
## Libraries + Code
|
36 |
"""
|
37 |
|
38 |
-
#!pip install PyPDF2
|
39 |
-
#!pip install pdfminer.six
|
40 |
-
#!pip install pdfplumber
|
41 |
-
#!pip install pdf2image
|
42 |
-
#!pip install Pillow
|
43 |
-
#!pip install pytesseract
|
44 |
-
#!apt-get install poppler-utils
|
45 |
-
#!apt install tesseract-ocr
|
46 |
-
#!apt install libtesseract-dev
|
47 |
-
|
48 |
# To read the PDF
|
49 |
import PyPDF2
|
50 |
# To analyze the PDF layout and extract text
|
|
|
18 |
#Install and import
|
19 |
"""
|
20 |
|
|
|
21 |
|
22 |
#from IPython.display import Audio
|
23 |
from transformers import pipeline
|
|
|
34 |
## Libraries + Code
|
35 |
"""
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# To read the PDF
|
38 |
import PyPDF2
|
39 |
# To analyze the PDF layout and extract text
|