robertselvam commited on
Commit
688e6c3
·
1 Parent(s): 494b5d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ import subprocess
5
  proc = subprocess.Popen('apt-get install -y tesseract-ocr poppler-utils', shell=True, stdin=None, stdout=open(os.devnull,"wb"), executable="/bin/bash")
6
  proc.wait()
7
  from pdf2image import convert_from_path
 
 
8
  import numpy as np
9
  import pandas as pd
10
  import gradio as gr
 
5
  proc = subprocess.Popen('apt-get install -y tesseract-ocr poppler-utils', shell=True, stdin=None, stdout=open(os.devnull,"wb"), executable="/bin/bash")
6
  proc.wait()
7
  from pdf2image import convert_from_path
8
+ from PIL import Image
9
+ import pytesseract
10
  import numpy as np
11
  import pandas as pd
12
  import gradio as gr