Spaces:
Running on Zero
Running on Zero
Upload webui.py with huggingface_hub
Browse files
webui.py
CHANGED
|
@@ -88,7 +88,7 @@ EXAMPLES_LIST = [
|
|
| 88 |
str(ROOT / MUSIC_EXAMPLE_TARGET_META),
|
| 89 |
"Mandarin",
|
| 90 |
"Mandarin",
|
| 91 |
-
"
|
| 92 |
False,
|
| 93 |
True,
|
| 94 |
True,
|
|
@@ -283,9 +283,10 @@ _i18n_key2lang_dict = dict(
|
|
| 283 |
synthesis_btn_label=dict(en="Run singing synthesis", zh="歌声合成"),
|
| 284 |
prompt_meta_label=dict(en="Prompt metadata", zh="Prompt metadata"),
|
| 285 |
target_meta_label=dict(en="Target metadata", zh="Target metadata"),
|
|
|
|
| 286 |
edit_tutorial_html=dict(
|
| 287 |
-
en='<p class="mb-0">Refer to <a href="https://github.com/Soul-AILab/SoulX-Singer/tree/main/preprocess#step-2-edit-in-the-midi-editor" target="_blank" rel="noopener">Edit Tutorial</a> for metadata editing</p>',
|
| 288 |
-
zh='<p class="mb-0">metadata 编辑请参考 <a href="https://github.com/Soul-AILab/SoulX-Singer/tree/main/preprocess#step-2-edit-in-the-midi-editor" target="_blank" rel="noopener">编辑教程</a></p>',
|
| 289 |
),
|
| 290 |
prompt_wav_label=dict(en="Prompt WAV (reference)", zh="Prompt WAV(参考音色)"),
|
| 291 |
generated_audio_label=dict(en="Generated merged audio", zh="合成结果音频"),
|
|
|
|
| 88 |
str(ROOT / MUSIC_EXAMPLE_TARGET_META),
|
| 89 |
"Mandarin",
|
| 90 |
"Mandarin",
|
| 91 |
+
"melody",
|
| 92 |
False,
|
| 93 |
True,
|
| 94 |
True,
|
|
|
|
| 283 |
synthesis_btn_label=dict(en="Run singing synthesis", zh="歌声合成"),
|
| 284 |
prompt_meta_label=dict(en="Prompt metadata", zh="Prompt metadata"),
|
| 285 |
target_meta_label=dict(en="Target metadata", zh="Target metadata"),
|
| 286 |
+
|
| 287 |
edit_tutorial_html=dict(
|
| 288 |
+
en='<p class="mb-0">Refer to <a href="https://github.com/Soul-AILab/SoulX-Singer/tree/main/preprocess#step-2-edit-in-the-midi-editor" target="_blank" rel="noopener">Edit Tutorial</a> for metadata editing (Important Note: The generated metadata may not perfectly align the singing audio with the corresponding lyrics and musical notes. For better results, we strongly recommend manually correcting the alignment. You can directly use <a href="https://huggingface.co/spaces/Soul-AILab/SoulX-Singer-Midi-Editor" target="_blank" rel="noopener">SoulX-Singer-Midi-Editor</a> to edit) </p>',
|
| 289 |
+
zh='<p class="mb-0">metadata 编辑请参考 <a href="https://github.com/Soul-AILab/SoulX-Singer/tree/main/preprocess#step-2-edit-in-the-midi-editor" target="_blank" rel="noopener">编辑教程</a> (重要提示:自动生成的 metadata 在音频与歌词、音高对齐效果通常不理想。为了获得更好的结果,我们强烈建议手动纠正对齐,否则会导致合成效果不佳。 你可以直接使用 <a href="https://huggingface.co/spaces/Soul-AILab/SoulX-Singer-Midi-Editor" target="_blank" rel="noopener">SoulX-Singer-Midi-Editor</a> 进行编辑) </p>',
|
| 290 |
),
|
| 291 |
prompt_wav_label=dict(en="Prompt WAV (reference)", zh="Prompt WAV(参考音色)"),
|
| 292 |
generated_audio_label=dict(en="Generated merged audio", zh="合成结果音频"),
|