Spaces:
Running
Running
asigalov61
commited on
Commit
•
ffd52cf
1
Parent(s):
5d2c281
Update app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def Mix_Chords(input_output_as_solo_piano,
|
|
234 |
|
235 |
output_midi_title = str(fn1)
|
236 |
output_midi_summary = 'Source MIDI MD5: ' + sfn + '\n'
|
237 |
-
output_midi_summary += 'Target MIDI MD5: ' + tfn
|
238 |
output_midi = str(new_fn)
|
239 |
output_audio = (16000, audio)
|
240 |
|
@@ -341,7 +341,7 @@ if __name__ == "__main__":
|
|
341 |
|
342 |
input_output_as_solo_piano = gr.Checkbox(label="Output as Solo Piano", value=False)
|
343 |
input_remove_drums = gr.Checkbox(label="Remove drums from output", value=False)
|
344 |
-
input_output_tempo = gr.Radio(["Source MIDI", "Target MIDI", "MIDI Mix"], value="Mix", label="Output tempo")
|
345 |
input_transform = gr.Radio(["As-is", "Flip Mix", "Reverse Mix"], value="As-is", label="Transform")
|
346 |
input_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|
347 |
input_transpose_to_C4 = gr.Checkbox(label="Transpose to C4", value=False)
|
|
|
234 |
|
235 |
output_midi_title = str(fn1)
|
236 |
output_midi_summary = 'Source MIDI MD5: ' + sfn + '\n'
|
237 |
+
output_midi_summary += 'Target MIDI MD5: ' + tfn
|
238 |
output_midi = str(new_fn)
|
239 |
output_audio = (16000, audio)
|
240 |
|
|
|
341 |
|
342 |
input_output_as_solo_piano = gr.Checkbox(label="Output as Solo Piano", value=False)
|
343 |
input_remove_drums = gr.Checkbox(label="Remove drums from output", value=False)
|
344 |
+
input_output_tempo = gr.Radio(["Source MIDI", "Target MIDI", "MIDI Mix"], value="MIDI Mix", label="Output tempo")
|
345 |
input_transform = gr.Radio(["As-is", "Flip Mix", "Reverse Mix"], value="As-is", label="Transform")
|
346 |
input_transpose_value = gr.Slider(-12, 12, value=0, step=1, label="Transpose value")
|
347 |
input_transpose_to_C4 = gr.Checkbox(label="Transpose to C4", value=False)
|