CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

做了一个Colab在线使用,支持本地上传音频,欢迎大家体验!

Open KevinWang676 opened this issue 2 years ago • 2 comments

刚刚做了一个 Colab 在线使用,可一键启动,支持本地上传音频文件!B站教程视频在这里,欢迎大家体验!能点一个免费的赞就更好啦哈哈哈!

KevinWang676 avatar Jul 09 '24 04:07 KevinWang676

@KevinWang676 大佬,什么环境才能跑起来? 我遇到了这个问题:

(cv) [root@VM-20-13-centos CosyVoice]# python3 webui_colab.py
2024-07-18 17:41:41,378 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found.
2024-07-18 17:41:41,379 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer
2024-07-18 17:41:41,428 - modelscope - INFO - No valid ast index found from /root/.cache/modelscope/ast_indexer, generating ast index from prebuilt!
2024-07-18 17:41:41,484 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 96455e00af6313e21b66a4ea7568bbe3 and a total number of 980 components indexed
transformer is not installed, please install it if you want to use related modules
failed to import ttsfrd, use WeTextProcessing instead
/root/miniconda3/envs/cv/lib/python3.8/site-packages/torch/_jit_internal.py:726: FutureWarning: ignore(True) has been deprecated. TorchScript will now drop the function call on compilation. Use torch.jit.unused now. {}
  warnings.warn(
Killed

后面就没有东西了。

wuyujia avatar Jul 18 '24 09:07 wuyujia

@KevinWang676 大佬,什么环境才能跑起来? 我遇到了这个问题:

(cv) [root@VM-20-13-centos CosyVoice]# python3 webui_colab.py 2024-07-18 17:41:41,378 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found. 2024-07-18 17:41:41,379 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer 2024-07-18 17:41:41,428 - modelscope - INFO - No valid ast index found from /root/.cache/modelscope/ast_indexer, generating ast index from prebuilt! 2024-07-18 17:41:41,484 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 96455e00af6313e21b66a4ea7568bbe3 and a total number of 980 components indexed transformer is not installed, please install it if you want to use related modules failed to import ttsfrd, use WeTextProcessing instead /root/miniconda3/envs/cv/lib/python3.8/site-packages/torch/_jit_internal.py:726: FutureWarning: ignore(True) has been deprecated. TorchScript will now drop the function call on compilation. Use torch.jit.unused now. {} warnings.warn( Killed 后面就没有东西了。

你这个是环境问题,transformer没有装,疑似torch版本也有问题

praymich avatar Jan 20 '26 09:01 praymich