Spaces:
Runtime error
Runtime error
Commit
·
8156b10
1
Parent(s):
da5be1c
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ What to Deliver: Upload a compressed folder with a .zip or .rar extension. The f
|
|
18 |
#Install and import
|
19 |
"""
|
20 |
|
21 |
-
|
22 |
|
23 |
#from IPython.display import Audio
|
24 |
from transformers import pipeline
|
@@ -35,15 +35,15 @@ import os
|
|
35 |
## Libraries + Code
|
36 |
"""
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
|
48 |
# To read the PDF
|
49 |
import PyPDF2
|
|
|
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 |
## 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
|