Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,4 +11,4 @@ def inference(img):
|
|
11 |
os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
|
12 |
return "results/demo_000/test.png"
|
13 |
|
14 |
-
gr.Interface(inference,gr.inputs.Image(type="pil"),gr.outputs.Image(type="file"))
|
|
|
11 |
os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
|
12 |
return "results/demo_000/test.png"
|
13 |
|
14 |
+
gr.Interface(inference,gr.inputs.Image(type="pil"),gr.outputs.Image(type="file")).launch()
|