Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def predict(image)->dict:
|
|
41 |
|
42 |
# Load image
|
43 |
# img = Image.open(image)
|
44 |
-
img =
|
45 |
|
46 |
# Predict with Test-time augmentation
|
47 |
for (target_size, hflip, rotation, crop) in aug_combos:
|
|
|
41 |
|
42 |
# Load image
|
43 |
# img = Image.open(image)
|
44 |
+
img = image.convert('RGB')
|
45 |
|
46 |
# Predict with Test-time augmentation
|
47 |
for (target_size, hflip, rotation, crop) in aug_combos:
|