jbilcke-hf HF staff commited on
Commit
ff38c5f
1 Parent(s): e2b6220

Update demos/musicgen_app.py

Browse files
Files changed (1) hide show
  1. demos/musicgen_app.py +1 -1
demos/musicgen_app.py CHANGED
@@ -288,7 +288,7 @@ def ui_full(launch_kwargs):
288
  temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
289
  cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
290
  with gr.Column():
291
- audio_output = gr.Audio(label="Generated Music (wav)")
292
  audio_diffusion = gr.Textbox(label="MultiBand Diffusion Decoder (wav)")
293
  submit.click(toggle_diffusion, decoder, [audio_diffusion], queue=False,
294
  show_progress=False).then(predict_full, inputs=[secret_token, model, model_path, decoder, text, melody, duration, topk, topp,
 
288
  temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
289
  cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
290
  with gr.Column():
291
+ audio_output = gr.Textbox(label="Generated Music (wav)")
292
  audio_diffusion = gr.Textbox(label="MultiBand Diffusion Decoder (wav)")
293
  submit.click(toggle_diffusion, decoder, [audio_diffusion], queue=False,
294
  show_progress=False).then(predict_full, inputs=[secret_token, model, model_path, decoder, text, melody, duration, topk, topp,