Update app.py
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ def respond(
|
|
| 153 |
try:
|
| 154 |
image= json_obj['image']
|
| 155 |
image = load_img(image, output_type="pil")
|
| 156 |
-
image =
|
| 157 |
|
| 158 |
image_size = image.size
|
| 159 |
|
|
|
|
| 153 |
try:
|
| 154 |
image= json_obj['image']
|
| 155 |
image = load_img(image, output_type="pil")
|
| 156 |
+
image = image.convert("RGB")
|
| 157 |
|
| 158 |
image_size = image.size
|
| 159 |
|