Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,7 @@ def load_data(input_file):
|
|
34 |
|
35 |
def asr_pipe(input_file, input_file_microphone, chunks):
|
36 |
input_file = input_file_microphone if input_file_microphone else input_file
|
37 |
-
|
38 |
-
transcription = pipe(speech, chunk_length_s= chunks)["text"]
|
39 |
|
40 |
return transcription
|
41 |
|
|
|
34 |
|
35 |
def asr_pipe(input_file, input_file_microphone, chunks):
|
36 |
input_file = input_file_microphone if input_file_microphone else input_file
|
37 |
+
transcription = pipe(input_file, chunk_length_s= chunks)["text"]
|
|
|
38 |
|
39 |
return transcription
|
40 |
|