VoxCPM icon indicating copy to clipboard operation
VoxCPM copied to clipboard

app.py

Open Storyinsea opened this issue 2 months ago • 7 comments

app.py start fail.

Storyinsea avatar Dec 09 '25 02:12 Storyinsea

Is there any log output we can check?

liuxin99 avatar Dec 09 '25 03:12 liuxin99

(voxcpm) PS D:\VoxCPM> python app.py 🚀 Running on device: cuda funasr version: 1.2.7. Downloading Model from https://www.modelscope.cn to directory: C:\Users\Administrator.cache\modelscope\hub\models\iic\SenseVoiceSmall WARNING:root:trust_remote_code: False 这是控制台输出的信息,然后直接就中断执行了,我在Mac上启动app.py时也是输出这个WARNING:root:trust_remote_code: False,但是还是会跑起来,

  • Running on local URL: http://localhost:7860
  • To create a public link, set share=True in launch(). 这个是在Mac上执行的

Storyinsea avatar Dec 09 '25 03:12 Storyinsea

从log看不出来什么东西呢,Windows如果一直失败的时候可以试试WSL运行看看

liuxin99 avatar Dec 09 '25 04:12 liuxin99

我修改trust_remote_code: True 出现: Loading remote code failed: model, No module named 'model'

Storyinsea avatar Dec 09 '25 06:12 Storyinsea

我修改trust_remote_code: True 出现: Loading remote code failed: model, No module named 'model'

这个是load sensevoice的正常输出,不应该导致崩溃

liuxin99 avatar Dec 09 '25 07:12 liuxin99

遇到了同样的问题,请问楼主解决了嘛

Cargoer avatar Dec 25 '25 06:12 Cargoer

遇到了同样的问题,请问楼主解决了嘛 没有解决,在mac上能运行进入webui。就是Windows上启动不了。还是写个交互脚本在终端上测试吧。

Storyinsea avatar Dec 25 '25 09:12 Storyinsea