Dileep7729 commited on
Commit
b874912
·
verified ·
1 Parent(s): 4a37a9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ from transformers import LayoutLMv3Processor, LayoutLMv3ForTokenClassification
7
  import pytesseract
8
 
9
  # Set the Tesseract executable path explicitly
10
- pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe"
 
11
 
12
 
13
  # For local development on Windows
 
7
  import pytesseract
8
 
9
  # Set the Tesseract executable path explicitly
10
+ pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
11
+
12
 
13
 
14
  # For local development on Windows