Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
·
c313555
1
Parent(s):
bd97ee9
Directory fix
Browse files- process.py +1 -1
process.py
CHANGED
|
@@ -29,7 +29,7 @@ def textDetection(im):
|
|
| 29 |
|
| 30 |
# save input image to cookie folder
|
| 31 |
## subprocess.call('cd cookie', shell=True)
|
| 32 |
-
im.save("
|
| 33 |
|
| 34 |
#yolo_dir = "/HCR/TextDetection/"
|
| 35 |
## subprocess.call('cd '+ Dir.yolo_dir, shell=True)
|
|
|
|
| 29 |
|
| 30 |
# save input image to cookie folder
|
| 31 |
## subprocess.call('cd cookie', shell=True)
|
| 32 |
+
im.save("/home/user/app"+Dir.yolo_dir+"/cookie/user_input.jpg", 'JPEG')
|
| 33 |
|
| 34 |
#yolo_dir = "/HCR/TextDetection/"
|
| 35 |
## subprocess.call('cd '+ Dir.yolo_dir, shell=True)
|