Saint-Unni commited on
Commit
fb5dec0
·
verified ·
1 Parent(s): 84dd159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def predict(img) ->Tuple[Dict,float]:
46
  probs = logits_per_image.softmax(dim=1) # we can take the softmax to get the label probabilities
47
  food = probs.argmax(dim=1)
48
  val = li[food]
49
- return val
50
 
51
  return pred_labels_and_probs,pred_time
52
 
 
46
  probs = logits_per_image.softmax(dim=1) # we can take the softmax to get the label probabilities
47
  food = probs.argmax(dim=1)
48
  val = li[food]
49
+ return val,pred_time
50
 
51
  return pred_labels_and_probs,pred_time
52