Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def inference(img):
|
|
10 |
|
11 |
img.save("demo/image/1.jpg", "JPEG")
|
12 |
#os.system('python hybridnets_test.py -w weights/hybridnets.pth --source demo/image --output demo_result --imshow False --imwrite True --cuda False')
|
13 |
-
os.system('python hybridnets_test.py -w weights/hybridnets.pth --source demo/image --output demo_result --imshow False --imwrite True')
|
14 |
|
15 |
return 'demo_result/1.jpg'
|
16 |
|
|
|
10 |
|
11 |
img.save("demo/image/1.jpg", "JPEG")
|
12 |
#os.system('python hybridnets_test.py -w weights/hybridnets.pth --source demo/image --output demo_result --imshow False --imwrite True --cuda False')
|
13 |
+
os.system('python hybridnets_test.py -w weights/hybridnets.pth --source demo/image --output demo_result --imshow False --imwrite True --float16 False')
|
14 |
|
15 |
return 'demo_result/1.jpg'
|
16 |
|