multimodalart HF Staff commited on
Commit
195665b
·
verified ·
1 Parent(s): c63e2ac

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +2 -2
webui.py CHANGED
@@ -277,7 +277,7 @@ def synthesis_function(
277
  target_audio,
278
  prompt_metadata=None,
279
  target_metadata=None,
280
- control="score",
281
  auto_shift=True,
282
  pitch_shift=0,
283
  seed=12306,
@@ -398,7 +398,7 @@ def render_interface() -> gr.Blocks:
398
  with gr.Row():
399
  control_radio = gr.Radio(
400
  choices=["melody", "score"],
401
- value="score",
402
  label="Control type",
403
  scale=1,
404
  )
 
277
  target_audio,
278
  prompt_metadata=None,
279
  target_metadata=None,
280
+ control="melody",
281
  auto_shift=True,
282
  pitch_shift=0,
283
  seed=12306,
 
398
  with gr.Row():
399
  control_radio = gr.Radio(
400
  choices=["melody", "score"],
401
+ value="melody",
402
  label="Control type",
403
  scale=1,
404
  )