Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
•
d321856
1
Parent(s):
1e7c769
Directory fix
Browse files- process.py +1 -1
process.py
CHANGED
@@ -39,7 +39,7 @@ def textDetection(im):
|
|
39 |
#User Input Data : /text_detection/cookie
|
40 |
'--source','/cookie',
|
41 |
#Text Detection Model : /runs/wordDetection/weights/best.pt
|
42 |
-
'--weights', Dir.detect_model_dir,
|
43 |
'--conf','0.25',
|
44 |
#Output Images Save Directory /runs/detect/user_output
|
45 |
'--name', Dir.cropped_img_folder_name,
|
|
|
39 |
#User Input Data : /text_detection/cookie
|
40 |
'--source','/cookie',
|
41 |
#Text Detection Model : /runs/wordDetection/weights/best.pt
|
42 |
+
'--weights', "/home/user/app"+Dir.detect_model_dir,
|
43 |
'--conf','0.25',
|
44 |
#Output Images Save Directory /runs/detect/user_output
|
45 |
'--name', Dir.cropped_img_folder_name,
|