Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
|
|
|
| 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
|