Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,9 @@ import gradio as gr
|
|
4 |
import torch
|
5 |
import pytesseract
|
6 |
|
7 |
-
# Set the path
|
8 |
-
pytesseract.pytesseract.tesseract_cmd =
|
|
|
9 |
|
10 |
|
11 |
# Load the fine-tuned model and processor from local files
|
|
|
4 |
import torch
|
5 |
import pytesseract
|
6 |
|
7 |
+
# Set the Linux path for Tesseract
|
8 |
+
pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
|
9 |
+
|
10 |
|
11 |
|
12 |
# Load the fine-tuned model and processor from local files
|