Spaces:
Runtime error
Runtime error
import path
Browse files
app.py
CHANGED
@@ -6,11 +6,10 @@ import ast
|
|
6 |
import os
|
7 |
from deta import Deta
|
8 |
|
9 |
-
os.chdir("ocr")
|
10 |
-
import utility
|
11 |
import numpy as np
|
12 |
-
from
|
13 |
-
from
|
|
|
14 |
|
15 |
# Global Detector and Recognizer
|
16 |
args = utility.parse_args()
|
|
|
6 |
import os
|
7 |
from deta import Deta
|
8 |
|
|
|
|
|
9 |
import numpy as np
|
10 |
+
from ocr import utility
|
11 |
+
from ocr.detector import TextDetector
|
12 |
+
from ocr.recognizer import TextRecognizer
|
13 |
|
14 |
# Global Detector and Recognizer
|
15 |
args = utility.parse_args()
|