Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=[
|