Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,15 +83,15 @@ with gr.Blocks() as demo:
|
|
| 83 |
with gr.Column():
|
| 84 |
with gr.Row():
|
| 85 |
uploaded_sound = gr.Audio(type="numpy", label="Input", source="upload")
|
| 86 |
-
chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track do you want to mashup ?", value="vocals")
|
| 87 |
load_sound_btn = gr.Button('Load your sound')
|
| 88 |
#split_vocals = gr.Audio(type="filepath", label="Vocals")
|
| 89 |
#split_bass = gr.Audio(type="filepath", label="Bass")
|
| 90 |
#split_drums = gr.Audio(type="filepath", label="Drums")
|
| 91 |
#split_others = gr.Audio(type="filepath", label="Other")
|
| 92 |
with gr.Row():
|
| 93 |
-
music_prompt = gr.Textbox(label="Musical Prompt", interactive=True)
|
| 94 |
-
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=
|
| 95 |
with gr.Row():
|
| 96 |
submit = gr.Button("Submit")
|
| 97 |
#with gr.Row():
|
|
|
|
| 83 |
with gr.Column():
|
| 84 |
with gr.Row():
|
| 85 |
uploaded_sound = gr.Audio(type="numpy", label="Input", source="upload")
|
| 86 |
+
chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track from your audio do you want to mashup ?", value="vocals")
|
| 87 |
load_sound_btn = gr.Button('Load your sound')
|
| 88 |
#split_vocals = gr.Audio(type="filepath", label="Vocals")
|
| 89 |
#split_bass = gr.Audio(type="filepath", label="Bass")
|
| 90 |
#split_drums = gr.Audio(type="filepath", label="Drums")
|
| 91 |
#split_others = gr.Audio(type="filepath", label="Other")
|
| 92 |
with gr.Row():
|
| 93 |
+
music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind music you wish for", interactive=True)
|
| 94 |
+
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=False)
|
| 95 |
with gr.Row():
|
| 96 |
submit = gr.Button("Submit")
|
| 97 |
#with gr.Row():
|