LAP-DEV commited on
Commit
093e747
·
verified ·
1 Parent(s): 0a28e1d

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +6 -1
modules/whisper/whisper_base.py CHANGED
@@ -386,9 +386,14 @@ class WhisperBase(ABC):
386
 
387
  time_end = datetime.now()
388
  total_info += f"\nTotal processing time: {self.format_time((time_end-time_start).total_seconds())}"
 
389
  result_str = total_result.rstrip("\n")
390
  result_file_path = [info['path'] for info in files_to_download.values()]
391
-
 
 
 
 
392
  return [result_str,result_file_path,total_info]
393
 
394
  except Exception as e:
 
386
 
387
  time_end = datetime.now()
388
  total_info += f"\nTotal processing time: {self.format_time((time_end-time_start).total_seconds())}"
389
+
390
  result_str = total_result.rstrip("\n")
391
  result_file_path = [info['path'] for info in files_to_download.values()]
392
+
393
+ # Fix tab indents
394
+ total_info = total_info.expandtabs()
395
+ result_str = result_str.expandtabs()
396
+
397
  return [result_str,result_file_path,total_info]
398
 
399
  except Exception as e: