Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def generate_music(prompt, duration):
|
|
34 |
# Создание интерфейса Gradio
|
35 |
iface = gr.Interface(
|
36 |
fn=generate_music,
|
37 |
-
inputs=["text", gr.inputs.
|
38 |
outputs=gr.outputs.Audio(type="auto", label="Generated Music")
|
39 |
)
|
40 |
|
|
|
34 |
# Создание интерфейса Gradio
|
35 |
iface = gr.Interface(
|
36 |
fn=generate_music,
|
37 |
+
inputs=["text", gr.inputs.Number(minimum=5, maximum=350)],
|
38 |
outputs=gr.outputs.Audio(type="auto", label="Generated Music")
|
39 |
)
|
40 |
|