Spaces:
Runtime error
Runtime error
Update webui.py
Browse files
webui.py
CHANGED
|
@@ -387,13 +387,20 @@ def render_interface() -> gr.Blocks:
|
|
| 387 |
editable=False,
|
| 388 |
interactive=True,
|
| 389 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 390 |
target_audio = gr.Audio(
|
| 391 |
label="Target audio (melody / lyrics source), max 60s",
|
| 392 |
type="filepath",
|
| 393 |
editable=False,
|
| 394 |
interactive=True,
|
| 395 |
)
|
| 396 |
-
|
|
|
|
|
|
|
|
|
|
| 397 |
with gr.Row():
|
| 398 |
control_radio = gr.Radio(
|
| 399 |
choices=["melody", "score"],
|
|
|
|
| 387 |
editable=False,
|
| 388 |
interactive=True,
|
| 389 |
)
|
| 390 |
+
gr.Examples(
|
| 391 |
+
examples=["raven.wav"],
|
| 392 |
+
inputs=[prompt_audio]
|
| 393 |
+
)
|
| 394 |
target_audio = gr.Audio(
|
| 395 |
label="Target audio (melody / lyrics source), max 60s",
|
| 396 |
type="filepath",
|
| 397 |
editable=False,
|
| 398 |
interactive=True,
|
| 399 |
)
|
| 400 |
+
gr.Examples(
|
| 401 |
+
examples=["happy_birthday.wav"],
|
| 402 |
+
inputs=[target_audio]
|
| 403 |
+
)
|
| 404 |
with gr.Row():
|
| 405 |
control_radio = gr.Radio(
|
| 406 |
choices=["melody", "score"],
|