Spaces:
Sleeping
Sleeping
Update Corriger.py
Browse files- Corriger.py +1 -1
Corriger.py
CHANGED
@@ -151,7 +151,7 @@ for uploaded_file in uploaded_files:
|
|
151 |
# img_stacked = np.hstack((resized_image_input, resized_img_final))
|
152 |
img_final = Image.fromarray(resized_img_final).convert("L")
|
153 |
|
154 |
-
img_final.save(buf, format="PNG")
|
155 |
byte_im = buf.getvalue()
|
156 |
|
157 |
btn = col3.download_button(
|
|
|
151 |
# img_stacked = np.hstack((resized_image_input, resized_img_final))
|
152 |
img_final = Image.fromarray(resized_img_final).convert("L")
|
153 |
|
154 |
+
img_final.save(buf, format="PNG", dpi=(dpi_value, dpi_value))
|
155 |
byte_im = buf.getvalue()
|
156 |
|
157 |
btn = col3.download_button(
|