ddean2009 / MoneyPrinterPlus

AI一键批量生成各类短视频,自动批量混剪短视频,自动把视频发布到抖音,快手,小红书,视频号上,赚钱从来没有这么容易过! 支持本地语音模型chatTTS,fasterwhisper,GPTSoVITS,支持云语音:Azure,阿里云,腾讯云。支持Stable diffusion,comfyUI直接AI生图。Generate short videos with one click using AI LLM,print money together! support:chatTTS,faster-whisper,GPTSoVITS,Azure,tencent Cloud,Ali Cloud.
GNU General Public License v3.0
2.24k stars 418 forks source link

生成视频的时候报错 #22

Closed 0xa-saline closed 3 months ago

0xa-saline commented 3 months ago

在生成视频的时候报错,使用的是本地模型。faster_whisper用的是 tiny device 是 auto

  File "/opt/MoneyPrinterPlus/services/captioning/captioning_service.py", line 68, in generate_caption
    result_list = fasterwhisper_service.process(get_session_option("audio_output_file"),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/MoneyPrinterPlus/services/audio/faster_whisper_recognition_service.py", line 51, in process
    model = WhisperModel(convert_module_to_path(self.model_name), device=self.device_type, compute_type=self.compute_type,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/MoneyPrinterPlus/venv/lib/python3.11/site-packages/faster_whisper/transcribe.py", line 145, in __init__
    self.model = ctranslate2.models.Whisper(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Unsupported model binary version. This executable supports models with binary version v6 or below, but the model has binary version v1936876918. This usually means that the model was generated by a later version of CTranslate2. (Forward compatibility is not guaranteed.)
ddean2009 commented 3 months ago

faster_whisper的模型下载有问题吧, 从我给的链接下载