Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 95 |
"""
|
| 96 |
)
|
| 97 |
|
| 98 |
-
with gr.
|
| 99 |
uploaded_sound = gr.Audio(type="numpy", label="Input", source="upload")
|
| 100 |
chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track from your audio do you want to mashup ?", value="vocals")
|
| 101 |
load_sound_btn = gr.Button('Load your sound')
|
|
@@ -107,7 +107,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 107 |
music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind music you wish for", interactive=True)
|
| 108 |
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=False)
|
| 109 |
#with gr.Row():
|
| 110 |
-
#
|
| 111 |
with gr.Row():
|
| 112 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
| 113 |
with gr.Row():
|
|
|
|
| 95 |
"""
|
| 96 |
)
|
| 97 |
|
| 98 |
+
with gr.Column():
|
| 99 |
uploaded_sound = gr.Audio(type="numpy", label="Input", source="upload")
|
| 100 |
chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track from your audio do you want to mashup ?", value="vocals")
|
| 101 |
load_sound_btn = gr.Button('Load your sound')
|
|
|
|
| 107 |
music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind music you wish for", interactive=True)
|
| 108 |
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=False)
|
| 109 |
#with gr.Row():
|
| 110 |
+
# model = gr.Radio(["melody", "medium", "small", "large"], label="Model", value="melody", interactive=True)
|
| 111 |
with gr.Row():
|
| 112 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
| 113 |
with gr.Row():
|