Spaces:
Sleeping
Sleeping
kozak-vaclav
commited on
Commit
•
70ac248
1
Parent(s):
1ac84fb
Update app.py
Browse files
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="
|
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 |
|