ptschandl commited on
Commit
01d73d2
1 Parent(s): e846bea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def predict(image)->dict:
41
 
42
  # Load image
43
  # img = Image.open(image)
44
- img = img.convert('RGB')
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: