Revert "#194: implement negative tags for text2audio"

This commit is contained in:
Gong Junmin
2025-05-18 19:42:29 +08:00
committed by GitHub
parent 484e4edc08
commit e3a6f4f659
2 changed files with 9 additions and 69 deletions
-10
View File
@@ -174,15 +174,6 @@ def create_text2music_ui(
scale=9,
)
with gr.Row():
negative_prompt = gr.Textbox(
lines=1,
label="Negative Tags",
info="Elements you want to avoid in the generated music (only effective when no EFG is used)",
max_lines=4,
scale=9,
)
# Add the change event for the preset dropdown
genre_preset.change(
fn=update_tags_from_preset,
@@ -958,7 +949,6 @@ def create_text2music_ui(
format,
audio_duration,
prompt,
negative_prompt,
lyrics,
infer_step,
guidance_scale,