LAP-DEV commited on
Commit
67dfa3d
·
verified ·
1 Parent(s): 626d44b

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +4 -1
modules/whisper/whisper_base.py CHANGED
@@ -429,7 +429,10 @@ class WhisperBase(ABC):
429
  result_str = total_result.rstrip("\n")
430
  result_file_path = [info['path'] for info in files_to_download.values()]
431
 
432
- return [list(result_str),result_file_path,total_info]
 
 
 
433
 
434
  except Exception as e:
435
  print(f"Error transcribing file: {e}")
 
429
  result_str = total_result.rstrip("\n")
430
  result_file_path = [info['path'] for info in files_to_download.values()]
431
 
432
+ result_list = []
433
+ result_list.append(result_str)
434
+
435
+ return [result_list,result_file_path,total_info]
436
 
437
  except Exception as e:
438
  print(f"Error transcribing file: {e}")