kozak-vaclav commited on
Commit
70ac248
1 Parent(s): 1ac84fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def CTCLoss(y_true, y_pred):
29
  return loss
30
 
31
  # Download model from Hugging Face Hub
32
- model_path = hf_hub_download(repo_id="kobrasoft/kobraspeech-rnn-cs", filename="kobraspeech.17-40.19.keras")
33
  with tf.keras.utils.custom_object_scope({'CTCLoss': CTCLoss}):
34
  model = tf.keras.models.load_model(model_path)
35
 
 
29
  return loss
30
 
31
  # Download model from Hugging Face Hub
32
+ model_path = hf_hub_download(repo_id="kobrasoft/kobraspeech-rnn-cs", filename="saved_model.pb")
33
  with tf.keras.utils.custom_object_scope({'CTCLoss': CTCLoss}):
34
  model = tf.keras.models.load_model(model_path)
35