Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -426,17 +426,11 @@ with gr.Blocks() as demo:
|
|
| 426 |
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate in Hugging Face">
|
| 427 |
</a>
|
| 428 |
</p>
|
| 429 |
-
|
| 430 |
-
for faster execution and endless generation!
|
| 431 |
""")
|
| 432 |
|
| 433 |
#==================================================================================
|
| 434 |
|
| 435 |
-
gr.Markdown("##
|
| 436 |
-
|
| 437 |
-
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
| 438 |
-
|
| 439 |
-
gr.Markdown("## Generation options")
|
| 440 |
|
| 441 |
generation_type = gr.Radio(["Guided", "Freestyle"], value="Guided", label="Generation type")
|
| 442 |
melody_patch = gr.Slider(-1, 127, value=-1, step=1, label="Source melody MIDI patch")
|
|
@@ -444,7 +438,7 @@ with gr.Blocks() as demo:
|
|
| 444 |
|
| 445 |
generate_btn = gr.Button("Generate", variant="primary")
|
| 446 |
|
| 447 |
-
gr.Markdown("##
|
| 448 |
|
| 449 |
output_midi_summary = gr.Textbox(label="MIDI summary")
|
| 450 |
output_audio = gr.Audio(label="MIDI audio", format="wav", elem_id="midi_audio")
|
|
|
|
| 426 |
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate in Hugging Face">
|
| 427 |
</a>
|
| 428 |
</p>
|
|
|
|
|
|
|
| 429 |
""")
|
| 430 |
|
| 431 |
#==================================================================================
|
| 432 |
|
| 433 |
+
gr.Markdown("## Mixing options")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 434 |
|
| 435 |
generation_type = gr.Radio(["Guided", "Freestyle"], value="Guided", label="Generation type")
|
| 436 |
melody_patch = gr.Slider(-1, 127, value=-1, step=1, label="Source melody MIDI patch")
|
|
|
|
| 438 |
|
| 439 |
generate_btn = gr.Button("Generate", variant="primary")
|
| 440 |
|
| 441 |
+
gr.Markdown("## Mixing results")
|
| 442 |
|
| 443 |
output_midi_summary = gr.Textbox(label="MIDI summary")
|
| 444 |
output_audio = gr.Audio(label="MIDI audio", format="wav", elem_id="midi_audio")
|