Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def inference(img):
|
|
15 |
img = img.resize((basewidth, hsize), Image.BILINEAR)
|
16 |
img.save("test/1.png", "PNG")
|
17 |
os.system(
|
18 |
-
'python main_test_CMFNet.py --input_dir test --weights experiments/pretrained_models/
|
19 |
return 'results/1.png'
|
20 |
|
21 |
|
|
|
15 |
img = img.resize((basewidth, hsize), Image.BILINEAR)
|
16 |
img.save("test/1.png", "PNG")
|
17 |
os.system(
|
18 |
+
'python main_test_CMFNet.py --input_dir test --weights experiments/pretrained_models/deraindrop_DeRainDrop_CMFNet.pth')
|
19 |
return 'results/1.png'
|
20 |
|
21 |
|