Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
199eaca
1
Parent(s):
65d99ea
Update app.py
Browse files
app.py
CHANGED
@@ -332,7 +332,7 @@ def InpaintPitches(input_midi, input_num_of_notes, input_patch_number):
|
|
332 |
|
333 |
print('Output MIDI file name:', output_midi)
|
334 |
print('Output MIDI title:', output_midi_title)
|
335 |
-
print('Output MIDI summary:',
|
336 |
print('=' * 70)
|
337 |
|
338 |
|
@@ -390,22 +390,22 @@ if __name__ == "__main__":
|
|
390 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|
391 |
|
392 |
gr.Examples(
|
393 |
-
[["
|
394 |
-
["
|
395 |
-
["
|
396 |
-
["
|
397 |
-
["
|
398 |
-
["
|
399 |
-
["
|
400 |
-
["
|
401 |
-
["
|
402 |
-
["
|
403 |
-
["
|
404 |
-
["
|
405 |
],
|
406 |
-
[input_midi,
|
407 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot],
|
408 |
-
|
409 |
cache_examples=True,
|
410 |
)
|
411 |
|
|
|
332 |
|
333 |
print('Output MIDI file name:', output_midi)
|
334 |
print('Output MIDI title:', output_midi_title)
|
335 |
+
print('Output MIDI summary:', output_midi_summary)
|
336 |
print('=' * 70)
|
337 |
|
338 |
|
|
|
390 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot])
|
391 |
|
392 |
gr.Examples(
|
393 |
+
[["Giant-Music-Transformer-Piano-Seed-1.mid", 128, 0],
|
394 |
+
["Giant-Music-Transformer-Piano-Seed-2.mid", 128, 0],
|
395 |
+
["Giant-Music-Transformer-Piano-Seed-3.mid", 128, 0],
|
396 |
+
["Giant-Music-Transformer-Piano-Seed-4.mid", 128, 0],
|
397 |
+
["Giant-Music-Transformer-Piano-Seed-5.mid", 128, 0],
|
398 |
+
["Giant-Music-Transformer-Piano-Seed-6.mid", 128, 0],
|
399 |
+
["Giant-Music-Transformer-MI-Seed-1.mid", 128, "Chords", False],
|
400 |
+
["Giant-Music-Transformer-MI-Seed-2.mid", 128, "Chords-Times", False],
|
401 |
+
["Giant-Music-Transformer-MI-Seed-3.mid", 128, "Chords-Times-Durations", False],
|
402 |
+
["Giant-Music-Transformer-MI-Seed-4.mid", 128, "Chords-Times", False],
|
403 |
+
["Giant-Music-Transformer-MI-Seed-5.mid", 128, "Chords", False],
|
404 |
+
["Giant-Music-Transformer-MI-Seed-6.mid", 128, "Chords-Times-Durations", False]
|
405 |
],
|
406 |
+
[input_midi, input_num_of_notes, input_patch_number],
|
407 |
[output_midi_title, output_midi_summary, output_midi, output_audio, output_plot],
|
408 |
+
InpaintPitches,
|
409 |
cache_examples=True,
|
410 |
)
|
411 |
|