Spaces:
Runtime error
Runtime error
set chunk_length_s=8, stride_length_s=(0,1)
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ device = 0 if torch.cuda.is_available() else "cpu"
|
|
12 |
pipe = pipeline(
|
13 |
task="automatic-speech-recognition",
|
14 |
model=MODEL_NAME,
|
15 |
-
chunk_length_s=
|
16 |
-
stride_length_s=(0,
|
17 |
device=device,
|
18 |
)
|
19 |
|
|
|
12 |
pipe = pipeline(
|
13 |
task="automatic-speech-recognition",
|
14 |
model=MODEL_NAME,
|
15 |
+
chunk_length_s=8,
|
16 |
+
stride_length_s=(0,1),
|
17 |
device=device,
|
18 |
)
|
19 |
|