lauraibnz commited on
Commit
ace5c12
·
1 Parent(s): 9e7e24e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,8 +49,8 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
49
  with gr.Column():
50
  audio = "audio"
51
  btn = gr.Button("Generate")
52
- btn.click(predict, inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], outputs=[audio], cache_examples=True)
53
- gr.Examples=([["S00.mid", "piano", "", 10, 25, 1.0, 20, False]])
54
 
55
  # demo = gr.Interface(
56
  # fn=predict, inputs=[
 
49
  with gr.Column():
50
  audio = "audio"
51
  btn = gr.Button("Generate")
52
+ btn.click(predict, inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], outputs=[audio])
53
+ gr.Examples=([["S00.mid", "piano", "", 10, 25, 1.0, 20, False]], cache_examples=True)
54
 
55
  # demo = gr.Interface(
56
  # fn=predict, inputs=[