Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ def predict(input):
|
|
61 |
x = np.minimum(np.maximum(image2np(img_hr.data*255), 0), 255).astype(np.uint8)
|
62 |
img = PIL.Image.fromarray(x)
|
63 |
im1 = img.resize(size)
|
64 |
-
|
65 |
-
return im2
|
66 |
|
67 |
gr_interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="image", title='Skin-Deep',examples=sample_images).launch();
|
|
|
61 |
x = np.minimum(np.maximum(image2np(img_hr.data*255), 0), 255).astype(np.uint8)
|
62 |
img = PIL.Image.fromarray(x)
|
63 |
im1 = img.resize(size)
|
64 |
+
return im1
|
|
|
65 |
|
66 |
gr_interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="image", title='Skin-Deep',examples=sample_images).launch();
|