Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def inference(image, task):
|
|
24 |
if task == 'Underwater':
|
25 |
os.system("python Underwater.py --test_path ./tmp/lq_image.png --save_path ./tmp/ --pk_path model_zoo/underwater.pth")
|
26 |
|
27 |
-
return '
|
28 |
|
29 |
title = "Image Enhancement and Restoration"
|
30 |
description = ""
|
|
|
24 |
if task == 'Underwater':
|
25 |
os.system("python Underwater.py --test_path ./tmp/lq_image.png --save_path ./tmp/ --pk_path model_zoo/underwater.pth")
|
26 |
|
27 |
+
return 'tmp/output.png'
|
28 |
|
29 |
title = "Image Enhancement and Restoration"
|
30 |
description = ""
|