amoldwalunj commited on
Commit
adec58c
1 Parent(s): d8c0d14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,8 +8,9 @@ import gradio as gr
8
 
9
 
10
  def ocr_df_using_pytesseract(image):
11
- pytesseract.pytesseract.tesseract_cmd =r"C:\Users\amold\Desktop\Upwork\pdf to image and pytesseract\tesseact_exe\Tesseract-OCR\tesseract.exe"
12
 
 
13
  #image = Image.open(example['image_path'])
14
 
15
  width, height = image.size
8
 
9
 
10
  def ocr_df_using_pytesseract(image):
11
+ #pytesseract.pytesseract.tesseract_cmd =r"C:\Users\amold\Desktop\Upwork\pdf to image and pytesseract\tesseact_exe\Tesseract-OCR\tesseract.exe"
12
 
13
+ pytesseract.pytesseract.tesseract_cmd = r'/usr/bin/tesseract'
14
  #image = Image.open(example['image_path'])
15
 
16
  width, height = image.size