Sa-m commited on
Commit
9546bbe
·
1 Parent(s): fbe3900

Update app.py

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