Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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",
|