Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def nogan(input_img):
|
|
| 61 |
output = output.astype('uint8')
|
| 62 |
output = np.transpose(output, (1, 2, 0))
|
| 63 |
img = PIL.Image.fromarray(output, 'RGB')
|
| 64 |
-
half = 0.
|
| 65 |
output_image = img.resize( [int(half * s) for s in img.size] )
|
| 66 |
#output_image = output.thumbnail([sys.maxsize, 300], Image.ANTIALIAS)
|
| 67 |
#output_image = img.resize((new_width, new_height), Image.ANTIALIAS)
|
|
|
|
| 61 |
output = output.astype('uint8')
|
| 62 |
output = np.transpose(output, (1, 2, 0))
|
| 63 |
img = PIL.Image.fromarray(output, 'RGB')
|
| 64 |
+
half = 0.2
|
| 65 |
output_image = img.resize( [int(half * s) for s in img.size] )
|
| 66 |
#output_image = output.thumbnail([sys.maxsize, 300], Image.ANTIALIAS)
|
| 67 |
#output_image = img.resize((new_width, new_height), Image.ANTIALIAS)
|