asigalov61
commited on
Commit
•
563718a
1
Parent(s):
e4d1c33
Update app.py
Browse files
app.py
CHANGED
@@ -412,6 +412,9 @@ if __name__ == "__main__":
|
|
412 |
gr.Markdown("## Upload your MIDI or select a sample example MIDI below")
|
413 |
|
414 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
|
|
|
|
|
|
415 |
input_find_best_match = gr.Checkbox(label="Find best match", value=True)
|
416 |
input_adjust_melody_notes_durations = gr.Checkbox(label="Adjust melody notes durations", value=False)
|
417 |
input_adjust_accompaniment_notes_durations = gr.Checkbox(label="Adjust accompaniment notes durations", value=False)
|
@@ -422,7 +425,6 @@ if __name__ == "__main__":
|
|
422 |
input_transpose_to_C4 = gr.Checkbox(label="Transpose to C4", value=False)
|
423 |
input_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|
424 |
|
425 |
-
|
426 |
run_btn = gr.Button("mix melody", variant="primary")
|
427 |
|
428 |
gr.Markdown("## Output results")
|
|
|
412 |
gr.Markdown("## Upload your MIDI or select a sample example MIDI below")
|
413 |
|
414 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
415 |
+
|
416 |
+
gr.Markdown("## Select mixing options")
|
417 |
+
|
418 |
input_find_best_match = gr.Checkbox(label="Find best match", value=True)
|
419 |
input_adjust_melody_notes_durations = gr.Checkbox(label="Adjust melody notes durations", value=False)
|
420 |
input_adjust_accompaniment_notes_durations = gr.Checkbox(label="Adjust accompaniment notes durations", value=False)
|
|
|
425 |
input_transpose_to_C4 = gr.Checkbox(label="Transpose to C4", value=False)
|
426 |
input_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|
427 |
|
|
|
428 |
run_btn = gr.Button("mix melody", variant="primary")
|
429 |
|
430 |
gr.Markdown("## Output results")
|