Spaces:
Sleeping
Sleeping
asigalov61
commited on
Commit
•
0e91e80
1
Parent(s):
0db726c
Update app.py
Browse files
app.py
CHANGED
@@ -236,5 +236,16 @@ if __name__ == "__main__":
|
|
236 |
|
237 |
run_event = run_btn.click(GenerateBridge, [input_midi, input_start_note],
|
238 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|
239 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
app.queue().launch()
|
|
|
236 |
|
237 |
run_event = run_btn.click(GenerateBridge, [input_midi, input_start_note],
|
238 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|
239 |
+
|
240 |
+
gr.Examples(
|
241 |
+
[["Sharing The Night Together.kar", 0],
|
242 |
+
["Sharing The Night Together.kar", 100],
|
243 |
+
["Deep Relaxation Melody #6.mid", 0],
|
244 |
+
["Deep Relaxation Melody #6.mid", 100]
|
245 |
+
],
|
246 |
+
[input_midi, input_start_note],
|
247 |
+
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot],
|
248 |
+
GenerateBridge,
|
249 |
+
cache_examples=True,
|
250 |
+
)
|
251 |
app.queue().launch()
|