Sa-m commited on
Commit
1565986
·
1 Parent(s): 61a2470

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def classify_image(inp):
44
  result[label] = float(predicted_class_indices[i])
45
  except KeyError:
46
  print(f"KeyError: Label not found for index {predicted_class_indices[i]}")
47
- return prediction[0]
48
 
49
 
50
 
 
44
  result[label] = float(predicted_class_indices[i])
45
  except KeyError:
46
  print(f"KeyError: Label not found for index {predicted_class_indices[i]}")
47
+ return f"{prediction}..{predicted_class_indices}"
48
 
49
 
50