ms180 commited on
Commit
e33a5ab
·
verified ·
1 Parent(s): 8870640

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -116,6 +116,11 @@ with open(config_path, "w") as f:
116
 
117
  print("Done! All 'gradient_checkpoint_layers' keys removed.")
118
 
 
 
 
 
 
119
 
120
  s2t_ar = ARSpeech2Text.from_pretrained(
121
  model_tag=f"espnet/owsm_v4_medium_1B",
 
116
 
117
  print("Done! All 'gradient_checkpoint_layers' keys removed.")
118
 
119
+ s2l = Speech2Language.from_pretrained(
120
+ model_tag=f"espnet/owsm_v4_medium_1B",
121
+ device=device,
122
+ nbest=1,
123
+ )
124
 
125
  s2t_ar = ARSpeech2Text.from_pretrained(
126
  model_tag=f"espnet/owsm_v4_medium_1B",