Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -478,7 +478,7 @@ with gr.Blocks() as demo:
|
|
478 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Giant Music Transformer</h1>")
|
479 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Fast multi-instrumental music transformer with true full MIDI instruments range, efficient encoding, octo-velocity and outro tokens</h1>")
|
480 |
gr.Markdown(
|
481 |
-
"Check out [
|
482 |
"[Open In Colab]"
|
483 |
"(https://colab.research.google.com/github/asigalov61/Giant-Music-Transformer/blob/main/Giant_Music_Transformer.ipynb)"
|
484 |
" for faster execution and endless generation"
|
@@ -487,9 +487,7 @@ with gr.Blocks() as demo:
|
|
487 |
gr.Markdown("## Upload seed MIDI or click 'Generate' button for random output")
|
488 |
|
489 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
490 |
-
|
491 |
-
|
492 |
-
clear_btn.click(reset)
|
493 |
|
494 |
gr.Markdown("## Generate")
|
495 |
|
|
|
478 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Giant Music Transformer</h1>")
|
479 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Fast multi-instrumental music transformer with true full MIDI instruments range, efficient encoding, octo-velocity and outro tokens</h1>")
|
480 |
gr.Markdown(
|
481 |
+
"Check out [Giant Music Transformer](https://github.com/asigalov61/Giant-Music-Transformer) on GitHub!\n\n"
|
482 |
"[Open In Colab]"
|
483 |
"(https://colab.research.google.com/github/asigalov61/Giant-Music-Transformer/blob/main/Giant_Music_Transformer.ipynb)"
|
484 |
" for faster execution and endless generation"
|
|
|
487 |
gr.Markdown("## Upload seed MIDI or click 'Generate' button for random output")
|
488 |
|
489 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
490 |
+
input_midi.upload(reset)
|
|
|
|
|
491 |
|
492 |
gr.Markdown("## Generate")
|
493 |
|