givkashi commited on
Commit
1ecbf8c
1 Parent(s): 435bf26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def infer(img):
22
  img.save("./results/data.png")
23
  os.system('python main_test_swinir.py')
24
  res=Image.open("./results/data.png")
25
- return res
26
- #return "butterfly.png"
27
 
28
 
29
  inputs = [gr.inputs.Image(type='pil', label="Original Image")]
 
22
  img.save("./results/data.png")
23
  os.system('python main_test_swinir.py')
24
  res=Image.open("./results/data.png")
25
+ #return res
26
+ return "./results/data.png"
27
 
28
 
29
  inputs = [gr.inputs.Image(type='pil', label="Original Image")]