Update app.py
Browse files
app.py
CHANGED
|
@@ -172,6 +172,7 @@ def ui_full(launch_kwargs):
|
|
| 172 |
with gr.Column():
|
| 173 |
output = gr.Video(label="Generated Music")
|
| 174 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
|
|
|
| 175 |
gr.Examples(
|
| 176 |
fn=predict_full,
|
| 177 |
examples=[
|
|
|
|
| 172 |
with gr.Column():
|
| 173 |
output = gr.Video(label="Generated Music")
|
| 174 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
| 175 |
+
radio.change(toggle_audio_src, radio, [melody], queue=False, show_progress=False)
|
| 176 |
gr.Examples(
|
| 177 |
fn=predict_full,
|
| 178 |
examples=[
|