Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def resize(width,img):
|
|
22 |
return img
|
23 |
|
24 |
def inference(img):
|
25 |
-
img = resize(
|
26 |
img.save("test/test.png")
|
27 |
os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
|
28 |
return "results/demo_000/test.png"
|
|
|
22 |
return img
|
23 |
|
24 |
def inference(img):
|
25 |
+
img = resize(128,img)
|
26 |
img.save("test/test.png")
|
27 |
os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
|
28 |
return "results/demo_000/test.png"
|