Manjushri commited on
Commit
4d5115d
1 Parent(s): 0a58efb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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=[