Spaces:
Build error
Build error
juancopi81
commited on
Commit
•
99cc608
1
Parent(s):
4a98ae7
Change defaults to ones that generate better pieces
Browse files
app.py
CHANGED
@@ -81,9 +81,9 @@ with demo:
|
|
81 |
# UI for the inputs of the model
|
82 |
gr.Markdown("Select the generation parameters.")
|
83 |
with gr.Row():
|
84 |
-
time_signature = gr.Dropdown(time_signatures, value="
|
85 |
note = gr.Dropdown(notes, value="E4", label="First note")
|
86 |
-
bpm = gr.Slider(minimum=60, maximum=130, step=10, value=
|
87 |
density = gr.Slider(minimum=0, maximum=4, step=1, value=2, label="Density")
|
88 |
with gr.Row():
|
89 |
btn = gr.Button("Compose")
|
|
|
81 |
# UI for the inputs of the model
|
82 |
gr.Markdown("Select the generation parameters.")
|
83 |
with gr.Row():
|
84 |
+
time_signature = gr.Dropdown(time_signatures, value="6/8", label="Time signature")
|
85 |
note = gr.Dropdown(notes, value="E4", label="First note")
|
86 |
+
bpm = gr.Slider(minimum=60, maximum=130, step=10, value=120, label="Tempo")
|
87 |
density = gr.Slider(minimum=0, maximum=4, step=1, value=2, label="Density")
|
88 |
with gr.Row():
|
89 |
btn = gr.Button("Compose")
|