mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
chore: more voices
This commit is contained in:
parent
9f34293c05
commit
648db7e855
@ -34,12 +34,9 @@ RUN if [ "$IMAGE_TYPE" != "elite" ]; then \
|
||||
fi
|
||||
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY . /workspace
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY . /workspace
|
||||
|
||||
EXPOSE 9871 9872 9873 9874 9880
|
||||
|
||||
CMD ["python", "webui.py"]
|
||||
CMD ["python", "api_v3.py"]
|
||||
|
14
GPT_SoVITS/configs/voices/jack.yaml
Normal file
14
GPT_SoVITS/configs/voices/jack.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
custom:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_weights/jackma-e10.ckpt
|
||||
vits_weights_path: SoVITS_weights/jackma_e8_s192.pth
|
||||
default:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_SoVITS/pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt
|
||||
vits_weights_path: GPT_SoVITS/pretrained_models/s2G488k.pth
|
14
GPT_SoVITS/configs/voices/liyunlong.yaml
Normal file
14
GPT_SoVITS/configs/voices/liyunlong.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
custom:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_weights/liyunlong-e15.ckpt
|
||||
vits_weights_path: SoVITS_weights/liyunlong_e8_s176.pth
|
||||
default:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_SoVITS/pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt
|
||||
vits_weights_path: GPT_SoVITS/pretrained_models/s2G488k.pth
|
14
GPT_SoVITS/configs/voices/morgan.yaml
Normal file
14
GPT_SoVITS/configs/voices/morgan.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
custom:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_weights/morgan-e15.ckpt
|
||||
vits_weights_path: SoVITS_weights/morgan_e8_s120.pth
|
||||
default:
|
||||
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
||||
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
||||
device: cpu
|
||||
is_half: false
|
||||
t2s_weights_path: GPT_SoVITS/pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt
|
||||
vits_weights_path: GPT_SoVITS/pretrained_models/s2G488k.pth
|
22
test.py
Normal file
22
test.py
Normal file
@ -0,0 +1,22 @@
|
||||
import os
|
||||
|
||||
|
||||
def get_voices_yaml(directory):
|
||||
try:
|
||||
with os.scandir(directory) as entries:
|
||||
for entry in entries:
|
||||
if entry.is_file():
|
||||
print(entry.path)
|
||||
except FileNotFoundError:
|
||||
print("Directory not found")
|
||||
except PermissionError:
|
||||
print("Permission denied")
|
||||
except Exception as e:
|
||||
print(f"An error occurred: {e}")
|
||||
|
||||
|
||||
# Specify the path to the directory
|
||||
directory_path = 'GPT_SoVITS/configs/voices'
|
||||
|
||||
# Call the function
|
||||
get_voices_yaml(directory_path)
|
Loading…
x
Reference in New Issue
Block a user