Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ with gr.Blocks() as demo:
|
|
| 87 |
#with gr.Row():
|
| 88 |
# model = gr.Radio(["melody", "medium", "small", "large"], label="Model", value="melody", interactive=True)
|
| 89 |
with gr.Row():
|
| 90 |
-
duration = gr.Slider(minimum=1, maximum=30, value=10, label="Duration", interactive=True)
|
| 91 |
#with gr.Row():
|
| 92 |
# topk = gr.Number(label="Top-k", value=250, interactive=True)
|
| 93 |
# topp = gr.Number(label="Top-p", value=0, interactive=True)
|
|
|
|
| 87 |
#with gr.Row():
|
| 88 |
# model = gr.Radio(["melody", "medium", "small", "large"], label="Model", value="melody", interactive=True)
|
| 89 |
with gr.Row():
|
| 90 |
+
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Duration", interactive=True)
|
| 91 |
#with gr.Row():
|
| 92 |
# topk = gr.Number(label="Top-k", value=250, interactive=True)
|
| 93 |
# topp = gr.Number(label="Top-p", value=0, interactive=True)
|