Spaces:
Sleeping
Sleeping
Update Corriger.py
Browse files- Corriger.py +1 -1
Corriger.py
CHANGED
@@ -163,7 +163,7 @@ elif authentication_status:
|
|
163 |
|
164 |
buf = BytesIO()
|
165 |
# img_stacked = np.hstack((resized_image_input, resized_img_final))
|
166 |
-
img_final = Image.fromarray(
|
167 |
img_final.save(buf, format="PNG")
|
168 |
byte_im = buf.getvalue()
|
169 |
|
|
|
163 |
|
164 |
buf = BytesIO()
|
165 |
# img_stacked = np.hstack((resized_image_input, resized_img_final))
|
166 |
+
img_final = Image.fromarray(resized_img_final).convert("L")
|
167 |
img_final.save(buf, format="PNG")
|
168 |
byte_im = buf.getvalue()
|
169 |
|