Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
•
6dc60e4
1
Parent(s):
1802185
Directory fix
Browse files- process.py +1 -1
process.py
CHANGED
@@ -22,7 +22,7 @@ def textDetection(im):
|
|
22 |
#yolo_dir = "/HCR/TextDetection/"
|
23 |
subprocess.call('pwd', shell=True)
|
24 |
subprocess.call('ls', shell=True)
|
25 |
-
subprocess.call('cd '+ Dir.yolo_dir, shell=True)
|
26 |
|
27 |
#transfrom ndarray type to PIL type
|
28 |
im = Image.fromarray(im)
|
|
|
22 |
#yolo_dir = "/HCR/TextDetection/"
|
23 |
subprocess.call('pwd', shell=True)
|
24 |
subprocess.call('ls', shell=True)
|
25 |
+
subprocess.call('sudo cd '+ Dir.yolo_dir, shell=True)
|
26 |
|
27 |
#transfrom ndarray type to PIL type
|
28 |
im = Image.fromarray(im)
|