Mishmosh commited on
Commit
cb406ef
·
1 Parent(s): 945165c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py CHANGED
@@ -9,23 +9,3 @@ python -m pip install --upgrade pip
9
  #pip install --upgrade pip
10
  RUN pip install --no-cache-dir -r requirements.txt
11
  RUN pip install --use-feature=in-tree-build tokenizers
12
-
13
- #!pip install PyPDF2
14
- #!pip install sentencepiece
15
- #!pip install pdfminer.six
16
- #!pip install pdfplumber
17
- #!pip install pdf2image
18
- #!pip install Pillow
19
- #!pip install pytesseract
20
- # @title
21
- #!apt-get install poppler-utils
22
- #!apt install tesseract-ocr
23
- #!apt install libtesseract-dev
24
- import PyPDF2
25
- from pdfminer.high_level import extract_pages, extract_text
26
- from pdfminer.layout import LTTextContainer, LTChar, LTRect, LTFigure
27
- import pdfplumber
28
- from PIL import Image
29
- from pdf2image import convert_from_path
30
- import pytesseract
31
- import os
 
9
  #pip install --upgrade pip
10
  RUN pip install --no-cache-dir -r requirements.txt
11
  RUN pip install --use-feature=in-tree-build tokenizers