wwdok commited on
Commit
e031d2f
·
1 Parent(s): f40c88f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -546,7 +546,6 @@ def create_ui(app_config: ApplicationConfig):
546
  faster-whisper 是使用 CTranslate2 对 OpenAI Whisper 模型的重新实现,CTranslate2 是 Transformer 模型的快速推理引擎。\n
547
  此实现比 OpenAI Whisper 快 4 倍,同时使用更少的内存,达到相同的精度。\n
548
  对于非英语的较长音频文件(>10 分钟),建议您在 VAD 选项中选择 Silero VAD(Voice Activity Detector)。\n
549
- 最大音频文件长度:1800秒=30分钟。\n
550
  项目github地址:https://github.com/wwdok/faster-whisper-webui-cn
551
  """
552
  )
@@ -703,7 +702,7 @@ if __name__ == '__main__':
703
  parser.add_argument("--vad_cpu_cores", type=int, default=default_app_config.vad_cpu_cores, \
704
  help="The number of CPU cores to use for VAD pre-processing.") # 1
705
  parser.add_argument("--vad_process_timeout", type=float, default=default_app_config.vad_process_timeout, \
706
- help="The number of seconds before inactivate processes are terminated. Use 0 to close processes immediately, or None for no timeout.") # 1800
707
  parser.add_argument("--auto_parallel", type=bool, default=default_app_config.auto_parallel, \
708
  help="True to use all available GPUs and CPU cores for processing. Use vad_cpu_cores/vad_parallel_devices to specify the number of CPU cores/GPUs to use.") # False
709
  parser.add_argument("--output_dir", "-o", type=str, default=default_app_config.output_dir, \
 
546
  faster-whisper 是使用 CTranslate2 对 OpenAI Whisper 模型的重新实现,CTranslate2 是 Transformer 模型的快速推理引擎。\n
547
  此实现比 OpenAI Whisper 快 4 倍,同时使用更少的内存,达到相同的精度。\n
548
  对于非英语的较长音频文件(>10 分钟),建议您在 VAD 选项中选择 Silero VAD(Voice Activity Detector)。\n
 
549
  项目github地址:https://github.com/wwdok/faster-whisper-webui-cn
550
  """
551
  )
 
702
  parser.add_argument("--vad_cpu_cores", type=int, default=default_app_config.vad_cpu_cores, \
703
  help="The number of CPU cores to use for VAD pre-processing.") # 1
704
  parser.add_argument("--vad_process_timeout", type=float, default=default_app_config.vad_process_timeout, \
705
+ help="The number of seconds before inactivate processes are terminated. Use 0 to close processes immediately, or None for no timeout.")
706
  parser.add_argument("--auto_parallel", type=bool, default=default_app_config.auto_parallel, \
707
  help="True to use all available GPUs and CPU cores for processing. Use vad_cpu_cores/vad_parallel_devices to specify the number of CPU cores/GPUs to use.") # False
708
  parser.add_argument("--output_dir", "-o", type=str, default=default_app_config.output_dir, \