Porjaz commited on
Commit
6256cb3
1 Parent(s): ea6c301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,7 +193,7 @@ class CustomEncoderWav2vec2Classifier(Pretrained):
193
 
194
 
195
  def return_prediction(mic, file):
196
- # classifier = foreign_class(source="Porjaz/wavlm-base-emo-fi", pymodule_file="custom_interface.py", classname="CustomEncoderWav2vec2Classifier")
197
  out_prob, score, index, text_lab = classifier.classify_file("anger.wav")
198
  return text_lab
199
 
 
193
 
194
 
195
  def return_prediction(mic, file):
196
+ classifier = foreign_class(source="Porjaz/wavlm-base-emo-fi", pymodule_file="custom_interface.py", classname="CustomEncoderWav2vec2Classifier")
197
  out_prob, score, index, text_lab = classifier.classify_file("anger.wav")
198
  return text_lab
199