Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
with gr.Row():
|
114 |
#model = gr.Radio(["melody", "medium", "small", "large"], label="MusicGen Model", value="melody", interactive=True)
|
115 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Generated Music Duration", interactive=True)
|
116 |
-
cfg_coef = gr.
|
117 |
with gr.Row():
|
118 |
submit = gr.Button("Submit")
|
119 |
#with gr.Row():
|
|
|
113 |
with gr.Row():
|
114 |
#model = gr.Radio(["melody", "medium", "small", "large"], label="MusicGen Model", value="melody", interactive=True)
|
115 |
duration = gr.Slider(minimum=1, maximum=30, value=10, step=1, label="Generated Music Duration", interactive=True)
|
116 |
+
cfg_coef = gr.Slider(label="Classifier Free Guidance", minimum=1.0, maximum=10.0, step=0.1, value=3.0, interactive=True)
|
117 |
with gr.Row():
|
118 |
submit = gr.Button("Submit")
|
119 |
#with gr.Row():
|