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

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -4
modules/whisper/whisper_base.py CHANGED
@@ -428,11 +428,8 @@ class WhisperBase(ABC):
428
 
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}")
 
428
 
429
  result_str = total_result.rstrip("\n")
430
  result_file_path = [info['path'] for info in files_to_download.values()]
 
 
 
431
 
432
+ return [result_str,result_file_path,total_info]
433
 
434
  except Exception as e:
435
  print(f"Error transcribing file: {e}")