Spaces:
Runtime error
Runtime error
Rmpmartinspro
commited on
Commit
•
83c0317
1
Parent(s):
18f588c
Music duration limit
Browse filesBecause the person wants a song a little longer
app.py
CHANGED
@@ -44,7 +44,7 @@ with block:
|
|
44 |
)
|
45 |
with gr.Group():
|
46 |
with gr.Box():
|
47 |
-
length = gr.Slider(1.0,
|
48 |
model = gr.Dropdown(choices=["harmonai/maestro-150k", "harmonai/jmann-small-190k", "harmonai/honk-140k", "harmonai/unlocked-250k","harmonai/jmann-large-580k","harmonai/glitch-440k"], value="harmonai/maestro-150k",type="value", label="Model")
|
49 |
out = gr.Audio(label="Output", type="filepath")
|
50 |
btn = gr.Button("Submit").style(full_width=True)
|
|
|
44 |
)
|
45 |
with gr.Group():
|
46 |
with gr.Box():
|
47 |
+
length = gr.Slider(1.0, 60.0, value=3.0, step=0.5, label="Audio length in seconds")
|
48 |
model = gr.Dropdown(choices=["harmonai/maestro-150k", "harmonai/jmann-small-190k", "harmonai/honk-140k", "harmonai/unlocked-250k","harmonai/jmann-large-580k","harmonai/glitch-440k"], value="harmonai/maestro-150k",type="value", label="Model")
|
49 |
out = gr.Audio(label="Output", type="filepath")
|
50 |
btn = gr.Button("Submit").style(full_width=True)
|