Spaces:
Running
on
Zero
Running
on
Zero
Update ui/components.py
Browse files- ui/components.py +3 -3
ui/components.py
CHANGED
@@ -111,7 +111,7 @@ def create_text2music_ui(
|
|
111 |
with gr.Row(equal_height=True):
|
112 |
audio2audio_enable = gr.Checkbox(label="启用音频到音频生成", value=False, info="勾选以使用参考音频进行音频到音频生成。", elem_id="audio2audio_checkbox")
|
113 |
lora_name_or_path = gr.Dropdown(
|
114 |
-
label="
|
115 |
choices=["ACE-Step/ACE-Step-v1-chinese-rap-LoRA", "none"],
|
116 |
value="none",
|
117 |
allow_custom_value=True,
|
@@ -143,7 +143,7 @@ def create_text2music_ui(
|
|
143 |
|
144 |
with gr.Column(scale=2):
|
145 |
with gr.Group():
|
146 |
-
gr.Markdown("""<center
|
147 |
genre_preset = gr.Dropdown(
|
148 |
choices=["自定义 (Custom)"] + list(GENRE_PRESETS.keys()),
|
149 |
value="自定义 (Custom)",
|
@@ -165,7 +165,7 @@ def create_text2music_ui(
|
|
165 |
outputs=[prompt]
|
166 |
)
|
167 |
with gr.Group():
|
168 |
-
gr.Markdown("""<center
|
169 |
lyrics = gr.Textbox(
|
170 |
lines=9,
|
171 |
label="歌词",
|
|
|
111 |
with gr.Row(equal_height=True):
|
112 |
audio2audio_enable = gr.Checkbox(label="启用音频到音频生成", value=False, info="勾选以使用参考音频进行音频到音频生成。", elem_id="audio2audio_checkbox")
|
113 |
lora_name_or_path = gr.Dropdown(
|
114 |
+
label="中文说唱",
|
115 |
choices=["ACE-Step/ACE-Step-v1-chinese-rap-LoRA", "none"],
|
116 |
value="none",
|
117 |
allow_custom_value=True,
|
|
|
143 |
|
144 |
with gr.Column(scale=2):
|
145 |
with gr.Group():
|
146 |
+
gr.Markdown("""<center>支持风格、描述和场景。使用逗号分隔不同的标签。</center>""")
|
147 |
genre_preset = gr.Dropdown(
|
148 |
choices=["自定义 (Custom)"] + list(GENRE_PRESETS.keys()),
|
149 |
value="自定义 (Custom)",
|
|
|
165 |
outputs=[prompt]
|
166 |
)
|
167 |
with gr.Group():
|
168 |
+
gr.Markdown("""<center>[verse]、[chorus] 和 [bridge] 来分隔歌词的不同部分。<br>使用 [instrumental] 或 [inst] 生成纯音乐。不支持歌词中的流派结构标签。</center>""")
|
169 |
lyrics = gr.Textbox(
|
170 |
lines=9,
|
171 |
label="歌词",
|