Spaces:
Runtime error
Runtime error
Commit
·
ea8d9d1
1
Parent(s):
98eedd4
Nerfing size of units.
Browse files- src/app.py +2 -2
src/app.py
CHANGED
@@ -16,8 +16,8 @@ capitalise_model = AutoModelForSeq2SeqLM.from_pretrained("KES/caribe-capitalise"
|
|
16 |
|
17 |
pipe = pipeline(
|
18 |
model="facebook/wav2vec2-large-960h",
|
19 |
-
chunk_length_s=
|
20 |
-
stride_length_s=
|
21 |
)
|
22 |
|
23 |
def translate(audio_file):
|
|
|
16 |
|
17 |
pipe = pipeline(
|
18 |
model="facebook/wav2vec2-large-960h",
|
19 |
+
chunk_length_s=90,
|
20 |
+
stride_length_s=15,
|
21 |
)
|
22 |
|
23 |
def translate(audio_file):
|