Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,10 +19,6 @@ import io
|
|
| 19 |
import pytesseract # Tesseract OCR
|
| 20 |
from dotenv import load_dotenv # For .env file
|
| 21 |
|
| 22 |
-
import pytesseract
|
| 23 |
-
|
| 24 |
-
# Set the Tesseract executable path
|
| 25 |
-
pytesseract.pytesseract.tesseract_cmd = r'/usr/bin/tesseract' # Linux/macOS
|
| 26 |
|
| 27 |
# Load environment variables
|
| 28 |
load_dotenv()
|
|
|
|
| 19 |
import pytesseract # Tesseract OCR
|
| 20 |
from dotenv import load_dotenv # For .env file
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Load environment variables
|
| 24 |
load_dotenv()
|