Vijish commited on
Commit
f58a946
1 Parent(s): 074962c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- im2 = im1.resize(300)
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();