Spaces:
Running
on
Zero
Running
on
Zero
liuyang
commited on
Commit
·
c01ddba
1
Parent(s):
1656d98
transcribe by word
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ class WhisperTranscriber:
|
|
| 115 |
# Transcribe with timestamps
|
| 116 |
result = self.pipe(
|
| 117 |
audio_path,
|
| 118 |
-
return_timestamps=
|
| 119 |
generate_kwargs=generate_kwargs,
|
| 120 |
chunk_length_s=30,
|
| 121 |
batch_size=128,
|
|
|
|
| 115 |
# Transcribe with timestamps
|
| 116 |
result = self.pipe(
|
| 117 |
audio_path,
|
| 118 |
+
return_timestamps="word",
|
| 119 |
generate_kwargs=generate_kwargs,
|
| 120 |
chunk_length_s=30,
|
| 121 |
batch_size=128,
|