Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import sys
|
|
6 |
|
7 |
import pytesseract
|
8 |
# Set Tesseract path if needed (uncomment and modify if Tesseract is not in PATH)
|
9 |
-
pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
|
10 |
|
11 |
def ocr_image(image):
|
12 |
try:
|
|
|
6 |
|
7 |
import pytesseract
|
8 |
# Set Tesseract path if needed (uncomment and modify if Tesseract is not in PATH)
|
9 |
+
# pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
|
10 |
|
11 |
def ocr_image(image):
|
12 |
try:
|