Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ def transcribe(audio_file, model_size="base", debug=False, pause_threshold=0.0,
|
|
| 248 |
adjusted_start = word['start'] + seg_start/sr
|
| 249 |
adjusted_end = word['end'] + seg_start/sr
|
| 250 |
|
| 251 |
-
|
| 252 |
'start': adjusted_start,
|
| 253 |
'end': adjusted_end,
|
| 254 |
'word': word['word'].strip()
|
|
|
|
| 248 |
adjusted_start = word['start'] + seg_start/sr
|
| 249 |
adjusted_end = word['end'] + seg_start/sr
|
| 250 |
|
| 251 |
+
srt_entries.append({
|
| 252 |
'start': adjusted_start,
|
| 253 |
'end': adjusted_end,
|
| 254 |
'word': word['word'].strip()
|