tensorgirl commited on
Commit
d502d79
·
verified ·
1 Parent(s): 8a5bc4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -81,7 +81,6 @@ class TFWav2Vec2ForAudioClassification(keras.Model):
81
  return intermediate_state
82
 
83
  wav2vec2_model = TFWav2Vec2ForAudioClassification(MODEL_CHECKPOINT)
84
- wav2vec2_model.load_weights('model.keras')
85
 
86
  for i, label in enumerate(labels):
87
  label2id[label] = str(i)
 
81
  return intermediate_state
82
 
83
  wav2vec2_model = TFWav2Vec2ForAudioClassification(MODEL_CHECKPOINT)
 
84
 
85
  for i, label in enumerate(labels):
86
  label2id[label] = str(i)