Spaces:
Runtime error
Runtime error
Fixed model.transcribe
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def process_file(in_filename: str,):
|
|
13 |
if in_filename is None or in_filename == "":
|
14 |
return "Error: No file"
|
15 |
|
16 |
-
transcript = asr_model.transcribe([in_filename])[0][0]
|
17 |
|
18 |
|
19 |
return transcript
|
|
|
13 |
if in_filename is None or in_filename == "":
|
14 |
return "Error: No file"
|
15 |
|
16 |
+
transcript = asr_model.transcribe(paths2audio_files = [in_filename])[0][0]
|
17 |
|
18 |
|
19 |
return transcript
|