Spaces:
Runtime error
Runtime error
Commit
·
39f18bd
1
Parent(s):
ec70789
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def inference():
|
|
18 |
file.save(secure_filename(file.filename))
|
19 |
file_name = file.filename
|
20 |
#image = cv2.imread(secure_filename(file_name))
|
21 |
-
w,h = image.shape[1],image.shape[0]
|
22 |
#image = cv2.resize(image,(int(w*.79),int(h*.79)))
|
23 |
#cv2.imwrite(secure_filename(file.filename),image)
|
24 |
os.system("uname -a")
|
|
|
18 |
file.save(secure_filename(file.filename))
|
19 |
file_name = file.filename
|
20 |
#image = cv2.imread(secure_filename(file_name))
|
21 |
+
#w,h = image.shape[1],image.shape[0]
|
22 |
#image = cv2.resize(image,(int(w*.79),int(h*.79)))
|
23 |
#cv2.imwrite(secure_filename(file.filename),image)
|
24 |
os.system("uname -a")
|