asigalov61
commited on
Commit
•
bb21aac
1
Parent(s):
38c5961
Update app.py
Browse files
app.py
CHANGED
@@ -323,5 +323,20 @@ if __name__ == "__main__":
|
|
323 |
base_MIDI_patch_number],
|
324 |
[output_audio, output_plot, output_midi, output_summary]
|
325 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
|
327 |
app.queue().launch()
|
|
|
323 |
base_MIDI_patch_number],
|
324 |
[output_audio, output_plot, output_midi, output_summary]
|
325 |
)
|
326 |
+
|
327 |
+
gr.Examples(
|
328 |
+
[
|
329 |
+
["USSR Anthem Seed Melody.mid", 0, 12, -1, 40, 0, 35],
|
330 |
+
],
|
331 |
+
[source_melody_transpose_value,
|
332 |
+
harmonizer_melody_chunk_size,
|
333 |
+
harmonizer_max_matches_count,
|
334 |
+
melody_MIDI_patch_number,
|
335 |
+
harmonized_accompaniment_MIDI_patch_number,
|
336 |
+
base_MIDI_patch_number],
|
337 |
+
[output_audio, output_plot, output_midi, output_summary],
|
338 |
+
Harmonize_Melody,
|
339 |
+
cache_examples=True,
|
340 |
+
)
|
341 |
|
342 |
app.queue().launch()
|