Spaces:
Running
on
Zero
Running
on
Zero
Update webui.py
Browse files
webui.py
CHANGED
|
@@ -277,7 +277,7 @@ def synthesis_function(
|
|
| 277 |
target_audio,
|
| 278 |
prompt_metadata=None,
|
| 279 |
target_metadata=None,
|
| 280 |
-
control="
|
| 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="
|
| 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 |
)
|