Goodsea commited on
Commit
120e376
1 Parent(s): 2fbee7b

import path

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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 detector import TextDetector
13
- from recognizer import TextRecognizer
 
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()