AlexZou commited on
Commit
ea55f52
1 Parent(s): 7970501

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 'results/output.png'
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 = ""