Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,6 +92,6 @@ def inference(img):
|
|
| 92 |
img_cb.resize(img_out_y.size, Image.BICUBIC),
|
| 93 |
img_cr.resize(img_out_y.size, Image.BICUBIC),
|
| 94 |
]).convert("RGB")
|
| 95 |
-
return
|
| 96 |
|
| 97 |
gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="pil")).launch()
|
|
|
|
| 92 |
img_cb.resize(img_out_y.size, Image.BICUBIC),
|
| 93 |
img_cr.resize(img_out_y.size, Image.BICUBIC),
|
| 94 |
]).convert("RGB")
|
| 95 |
+
return final_img
|
| 96 |
|
| 97 |
gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="pil")).launch()
|