Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def transcribe_audio(audio_file):
|
|
30 |
isig = filter_output(isig , max_silence=0.5 ,ignore_small_speech_segments=0.1 , max_speech_len=15 ,split_speech_bigger_than=20)
|
31 |
isig = [(a,b) for x,a,b,_,_ in isig]
|
32 |
results=[]
|
33 |
-
for segment in
|
34 |
results.append (process_segment((segment, wav)))
|
35 |
for start, stop, tr_beamsearch_lm in results:
|
36 |
try:
|
|
|
30 |
isig = filter_output(isig , max_silence=0.5 ,ignore_small_speech_segments=0.1 , max_speech_len=15 ,split_speech_bigger_than=20)
|
31 |
isig = [(a,b) for x,a,b,_,_ in isig]
|
32 |
results=[]
|
33 |
+
for segment in isig:
|
34 |
results.append (process_segment((segment, wav)))
|
35 |
for start, stop, tr_beamsearch_lm in results:
|
36 |
try:
|