lauraibnz commited on
Commit
7764d32
1 Parent(s): 4af33c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
59
  guess = gr.Checkbox(label="guess mode")
60
  btn = gr.Button("Generate")
61
  btn.click(predict, inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], outputs=[audio])
62
- gr.Examples(examples=[["S00.mid", "piano", "", 10, 25, 1.0, 20, False]], inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], fn=predict, outputs=audio)
63
 
64
  # demo = gr.Interface(
65
  # fn=predict, inputs=[
 
59
  guess = gr.Checkbox(label="guess mode")
60
  btn = gr.Button("Generate")
61
  btn.click(predict, inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], outputs=[audio])
62
+ gr.Examples(examples=[["S00.mid", "piano", "", 10, 25, 1.0, 20, False]], inputs=[midi, prompt, neg_prompt, duration, seed, cond, inf, guess], fn=predict, outputs=audio, cache_examples=True)
63
 
64
  # demo = gr.Interface(
65
  # fn=predict, inputs=[