Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d35cded867 | ||
|
|
b5e6cdf4c4 | ||
|
|
cfa2974af9 | ||
|
|
b081f67dc0 | ||
|
|
480c7ca238 | ||
|
|
4f4edb5af3 | ||
|
|
efa8e11d52 |
@@ -51,6 +51,15 @@ pip install -r requirements.txt
|
||||
|
||||
```
|
||||
|
||||
### MacOS
|
||||
If meet error when you install
|
||||
```bash
|
||||
brew install openfst
|
||||
export CPPFLAGS="-I/opt/homebrew/include"
|
||||
export LDFLAGS="-L/opt/homebrew/lib"
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
If your network is unstable, you can pre-download the model from the following sources and place it in the appropriate directory.
|
||||
|
||||
- [CosyVoice-300M](https://modelscope.cn/models/iic/CosyVoice-300M) -> `ComfyUI/models/CosyVoice/CosyVoice-300M`
|
||||
@@ -62,4 +71,4 @@ If your network is unstable, you can pre-download the model from the following s
|
||||
|
||||
## WorkFlow
|
||||
|
||||
<img src="./assets/Workflow_FunAudioLLM.png" alt="zh-CN" />
|
||||
<img src="./assets/Workflow_FunAudioLLM.png" alt="zh-CN" />
|
||||
|
||||
@@ -43,7 +43,10 @@ class CosyVoiceZeroShotNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"tts_text":("STRING",),
|
||||
"tts_text":("STRING", {
|
||||
"default": "",
|
||||
"multiline": True
|
||||
}),
|
||||
"speed":("FLOAT",{
|
||||
"default": 1.0
|
||||
}),
|
||||
@@ -96,7 +99,10 @@ class CosyVoiceSFTNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"tts_text":("STRING",),
|
||||
"tts_text":("STRING", {
|
||||
"default": "",
|
||||
"multiline": True
|
||||
}),
|
||||
"speaker_name":(s.sft_spk_list,{
|
||||
"default":"中文女"
|
||||
}),
|
||||
@@ -129,7 +135,10 @@ class CosyVoiceCrossLingualNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"tts_text":("STRING",),
|
||||
"tts_text":("STRING", {
|
||||
"default": "",
|
||||
"multiline": True
|
||||
}),
|
||||
"prompt_wav": ("AUDIO",),
|
||||
"speed":("FLOAT",{
|
||||
"default": 1.0
|
||||
@@ -163,7 +172,10 @@ class CosyVoiceInstructNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"tts_text":("STRING",),
|
||||
"tts_text":("STRING", {
|
||||
"default": "",
|
||||
"multiline": True
|
||||
}),
|
||||
"speaker_name":(s.sft_spk_list,{
|
||||
"default":"中文女"
|
||||
}),
|
||||
@@ -194,7 +206,9 @@ class CosyVoiceLoadSpeakerModelNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"speaker_name":("STRING",),
|
||||
"speaker_name":("STRING", {
|
||||
"default": ""
|
||||
}),
|
||||
"model_dir":("STRING",{ "default":get_speaker_default_path()}),
|
||||
}
|
||||
}
|
||||
@@ -215,7 +229,9 @@ class CosyVoiceLoadSpeakerModelFromUrlNode:
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required":{
|
||||
"model_url":("STRING",),
|
||||
"model_url":("STRING", {
|
||||
"default": ""
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -234,7 +250,9 @@ class CosyVoiceSaveSpeakerModelNode:
|
||||
return {
|
||||
"required":{
|
||||
"spk_model":("SPK_MODEL",),
|
||||
"speaker_name":("STRING",),
|
||||
"speaker_name":("STRING", {
|
||||
"default": ""
|
||||
}),
|
||||
"model_dir":("STRING",{ "default":get_speaker_default_path()}),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user