Update app.py
Browse files
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 |
-
|
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")]
|