Update app.py
Browse files
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=
|
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)
|