Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def infer(img):
|
|
17 |
width, height = img.size
|
18 |
img.save("./data/data.png")
|
19 |
os.system('python main_test_swinir.py')
|
20 |
-
|
21 |
-
return "butterfly.png"
|
22 |
|
23 |
|
24 |
inputs = [gr.inputs.Image(type='pil', label="Original Image")]
|
|
|
17 |
width, height = img.size
|
18 |
img.save("./data/data.png")
|
19 |
os.system('python main_test_swinir.py')
|
20 |
+
return "./results/data.png"
|
21 |
+
#return "butterfly.png"
|
22 |
|
23 |
|
24 |
inputs = [gr.inputs.Image(type='pil', label="Original Image")]
|