Spaces:
Sleeping
Sleeping
Commit
·
99522f4
1
Parent(s):
57bcb1c
Update api.py
Browse files
api.py
CHANGED
@@ -44,7 +44,7 @@ def get_time():
|
|
44 |
# print(Rw,Rh)
|
45 |
|
46 |
output = ""
|
47 |
-
|
48 |
if len(rois) > 1:
|
49 |
|
50 |
for i in range(int(len(rois) / 4)):
|
@@ -91,6 +91,7 @@ def get_time():
|
|
91 |
|
92 |
print('ok')
|
93 |
os.remove(secure_filename(file.filename))
|
|
|
94 |
return [output]
|
95 |
|
96 |
|
|
|
44 |
# print(Rw,Rh)
|
45 |
|
46 |
output = ""
|
47 |
+
os.system("echo processing start")
|
48 |
if len(rois) > 1:
|
49 |
|
50 |
for i in range(int(len(rois) / 4)):
|
|
|
91 |
|
92 |
print('ok')
|
93 |
os.remove(secure_filename(file.filename))
|
94 |
+
os.system("echo processing done!")
|
95 |
return [output]
|
96 |
|
97 |
|