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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -61,6 +61,7 @@ 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
- return im1
 
65
 
66
  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
+ 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();