Cropinky commited on
Commit
2c089c6
1 Parent(s): d232680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def image_generation(model, number_of_images=1):
45
  #print(type(open_cv_image))
46
  #print(type(img))
47
  #print(type(upscaled_img))
48
- output, _ = upsampler.enhance(open_cv_image, outscale=4)
49
  #output2, _ = upsampler.enhance(output , outscale=4)
50
  #return f"generating {number_of_images} images from {model}"
51
  #cv2.imwrite('out/output_upscaled.png', output)
 
45
  #print(type(open_cv_image))
46
  #print(type(img))
47
  #print(type(upscaled_img))
48
+ output, _ = upsampler.enhance(open_cv_image, outscale=8)
49
  #output2, _ = upsampler.enhance(output , outscale=4)
50
  #return f"generating {number_of_images} images from {model}"
51
  #cv2.imwrite('out/output_upscaled.png', output)