LAP-DEV commited on
Commit
7f5eda1
·
verified ·
1 Parent(s): 1dace06

Update modules/whisper/whisper_base.py

Browse files
Files changed (1) hide show
  1. modules/whisper/whisper_base.py +1 -1
modules/whisper/whisper_base.py CHANGED
@@ -430,7 +430,7 @@ class WhisperBase(ABC):
430
  result_file_path = [info['path'] for info in files_to_download.values()]
431
 
432
  if len(result_file_path)>0:
433
- total_info += f", open sidebar at top right to download output data (len(result_file_path) {'file' if len(result_file_path) == 1 else 'files'})"
434
 
435
  return [gr.update(value={"data": self.transform_text_to_list(total_result)}),result_file_path,total_info]
436
  #return [result_str,result_file_path,total_info]
 
430
  result_file_path = [info['path'] for info in files_to_download.values()]
431
 
432
  if len(result_file_path)>0:
433
+ total_info += f" with {len(result_file_path)} {'file' if len(result_file_path) == 1 else 'files'} as downloadable ouput data (see sidebar top right)"
434
 
435
  return [gr.update(value={"data": self.transform_text_to_list(total_result)}),result_file_path,total_info]
436
  #return [result_str,result_file_path,total_info]