Sakshiw1 commited on
Commit
e29c724
·
verified ·
1 Parent(s): f60c847

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import re
5
 
6
  # Configure Tesseract path (update if needed)
7
- pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
8
 
9
  def perform_ocr(image):
10
  text = pytesseract.image_to_string(image, lang='hin+eng')
 
4
  import re
5
 
6
  # Configure Tesseract path (update if needed)
7
+ pytesseract.pytesseract.tesseract_cmd = r'C:/Program Files/Tesseract-OCR/tesseract.exe'
8
 
9
  def perform_ocr(image):
10
  text = pytesseract.image_to_string(image, lang='hin+eng')