Spaces:
Runtime error
Runtime error
Test
Browse files- inference_manga_v2.py +1 -1
inference_manga_v2.py
CHANGED
@@ -48,4 +48,4 @@ output = np.transpose(output, (1, 2, 0))
|
|
48 |
output = (output * 255.0).round()
|
49 |
print('Finished upscaling, saving image.')
|
50 |
print(output_dir)
|
51 |
-
cv2.imwrite(output_dir, output, [int(cv2.IMWRITE_PNG_COMPRESSION),
|
|
|
48 |
output = (output * 255.0).round()
|
49 |
print('Finished upscaling, saving image.')
|
50 |
print(output_dir)
|
51 |
+
cv2.imwrite(output_dir, output, [int(cv2.IMWRITE_PNG_COMPRESSION), 9])
|