Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def transcribe_audio(audio_file):
|
|
33 |
waveform = waveform[: sr * max_audio_sec]
|
34 |
|
35 |
# Split into 25-second chunks
|
36 |
-
chunk_duration_s =
|
37 |
chunk_size = sr * chunk_duration_s
|
38 |
chunks = []
|
39 |
for start_idx in range(0, len(waveform), chunk_size):
|
|
|
33 |
waveform = waveform[: sr * max_audio_sec]
|
34 |
|
35 |
# Split into 25-second chunks
|
36 |
+
chunk_duration_s = 25
|
37 |
chunk_size = sr * chunk_duration_s
|
38 |
chunks = []
|
39 |
for start_idx in range(0, len(waveform), chunk_size):
|