Primeiro envio para o repositório remoto
Browse files- train_models/dataset/lang.txt +1 -0
- train_models/dataset/wav/.git.txt +0 -0
- train_models/ready/.git.txt +0 -0
- train_models/run/training/.git.txt +0 -0
- xtts_demo.py +6 -6
train_models/dataset/lang.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pt
|
train_models/dataset/wav/.git.txt
ADDED
|
File without changes
|
train_models/ready/.git.txt
ADDED
|
File without changes
|
train_models/run/training/.git.txt
ADDED
|
File without changes
|
xtts_demo.py
CHANGED
|
@@ -870,20 +870,20 @@ if __name__ == "__main__":
|
|
| 870 |
load_params_tts_btn = gr.Button(value="Load params for TTS from output folder")
|
| 871 |
xtts_checkpoint = gr.Textbox(
|
| 872 |
label="XTTS checkpoint path:",
|
| 873 |
-
value="",
|
| 874 |
)
|
| 875 |
xtts_config = gr.Textbox(
|
| 876 |
label="XTTS config path:",
|
| 877 |
-
value="",
|
| 878 |
)
|
| 879 |
|
| 880 |
xtts_vocab = gr.Textbox(
|
| 881 |
label="XTTS vocab path:",
|
| 882 |
-
value="",
|
| 883 |
)
|
| 884 |
xtts_speaker = gr.Textbox(
|
| 885 |
label="XTTS speaker path:",
|
| 886 |
-
value="",
|
| 887 |
)
|
| 888 |
progress_load = gr.Label(
|
| 889 |
label="Progress:"
|
|
@@ -893,7 +893,7 @@ if __name__ == "__main__":
|
|
| 893 |
with gr.Column() as col2:
|
| 894 |
speaker_reference_audio = gr.Textbox(
|
| 895 |
label="Speaker Reference Audio:", # More descriptive label
|
| 896 |
-
value="",
|
| 897 |
interactive=True, # Allow users to edit path manually
|
| 898 |
)
|
| 899 |
speaker_audio_upload = gr.Audio(
|
|
@@ -902,7 +902,7 @@ if __name__ == "__main__":
|
|
| 902 |
)
|
| 903 |
tts_language = gr.Dropdown(
|
| 904 |
label="Language",
|
| 905 |
-
value="
|
| 906 |
choices=list(zip(language_names.values(), language_names.keys()))
|
| 907 |
)
|
| 908 |
tts_text = gr.Textbox(
|
|
|
|
| 870 |
load_params_tts_btn = gr.Button(value="Load params for TTS from output folder")
|
| 871 |
xtts_checkpoint = gr.Textbox(
|
| 872 |
label="XTTS checkpoint path:",
|
| 873 |
+
value="/content/xtts-webui/model/model.pth",
|
| 874 |
)
|
| 875 |
xtts_config = gr.Textbox(
|
| 876 |
label="XTTS config path:",
|
| 877 |
+
value="/content/xtts-webui/model/config.json",
|
| 878 |
)
|
| 879 |
|
| 880 |
xtts_vocab = gr.Textbox(
|
| 881 |
label="XTTS vocab path:",
|
| 882 |
+
value="/content/xtts-webui/model/vocab.json",
|
| 883 |
)
|
| 884 |
xtts_speaker = gr.Textbox(
|
| 885 |
label="XTTS speaker path:",
|
| 886 |
+
value="/content/xtts-webui/model/speakers_xtts.pth",
|
| 887 |
)
|
| 888 |
progress_load = gr.Label(
|
| 889 |
label="Progress:"
|
|
|
|
| 893 |
with gr.Column() as col2:
|
| 894 |
speaker_reference_audio = gr.Textbox(
|
| 895 |
label="Speaker Reference Audio:", # More descriptive label
|
| 896 |
+
value="/content/xtts-webui/model/reference.wav",
|
| 897 |
interactive=True, # Allow users to edit path manually
|
| 898 |
)
|
| 899 |
speaker_audio_upload = gr.Audio(
|
|
|
|
| 902 |
)
|
| 903 |
tts_language = gr.Dropdown(
|
| 904 |
label="Language",
|
| 905 |
+
value="pt",
|
| 906 |
choices=list(zip(language_names.values(), language_names.keys()))
|
| 907 |
)
|
| 908 |
tts_text = gr.Textbox(
|