theodotus commited on
Commit
21d3cbb
1 Parent(s): 4834725

Fixed model.transcribe

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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