added timestamps info to the pipeline
Browse files
app.py
CHANGED
@@ -68,6 +68,7 @@ pipe = pipeline(
|
|
68 |
task="automatic-speech-recognition",
|
69 |
model=model_name,
|
70 |
chunk_length_s=10,
|
|
|
71 |
device="cpu",
|
72 |
)
|
73 |
|
|
|
68 |
task="automatic-speech-recognition",
|
69 |
model=model_name,
|
70 |
chunk_length_s=10,
|
71 |
+
return_timestamps='word',
|
72 |
device="cpu",
|
73 |
)
|
74 |
|