gputrain commited on
Commit
b0018f3
1 Parent(s): 896c0ff
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def convert_sounds_melspectogram (audio_file):
87
 
88
  def predict():
89
  img = PILImage.create('temp.png')
90
- pred,pred_idx,probs = learn.predict(img)
91
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
92
  return labels_probs
93
 
 
87
 
88
  def predict():
89
  img = PILImage.create('temp.png')
90
+ pred,pred_idx,probs = model.predict(img)
91
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
92
  return labels_probs
93