Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,12 +101,12 @@ with gr.Blocks() as demo:
|
|
| 101 |
with gr.Row():
|
| 102 |
music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind music you wish for", interactive=True)
|
| 103 |
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=False)
|
| 104 |
-
with gr.Row():
|
| 105 |
-
submit = gr.Button("Submit")
|
| 106 |
#with gr.Row():
|
| 107 |
# model = gr.Radio(["melody", "medium", "small", "large"], label="Model", value="melody", interactive=True)
|
| 108 |
with gr.Row():
|
| 109 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
|
|
|
|
|
|
| 110 |
#with gr.Row():
|
| 111 |
# topk = gr.Number(label="Top-k", value=250, interactive=True)
|
| 112 |
# topp = gr.Number(label="Top-p", value=0, interactive=True)
|
|
|
|
| 101 |
with gr.Row():
|
| 102 |
music_prompt = gr.Textbox(label="Musical Prompt", info="Describe what kind music you wish for", interactive=True)
|
| 103 |
melody = gr.Audio(source="upload", type="numpy", label="Melody Condition (optional)", interactive=False)
|
|
|
|
|
|
|
| 104 |
#with gr.Row():
|
| 105 |
# model = gr.Radio(["melody", "medium", "small", "large"], label="Model", value="melody", interactive=True)
|
| 106 |
with gr.Row():
|
| 107 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
| 108 |
+
with gr.Row():
|
| 109 |
+
submit = gr.Button("Submit")
|
| 110 |
#with gr.Row():
|
| 111 |
# topk = gr.Number(label="Top-k", value=250, interactive=True)
|
| 112 |
# topp = gr.Number(label="Top-p", value=0, interactive=True)
|