Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
c28bd62
1
Parent(s):
5b774f9
Update app.py
Browse files
app.py
CHANGED
@@ -391,19 +391,28 @@ if __name__ == "__main__":
|
|
391 |
|
392 |
app = gr.Blocks()
|
393 |
with app:
|
394 |
-
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>
|
395 |
-
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>
|
396 |
gr.Markdown(
|
397 |
-
"![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.
|
398 |
-
"This is a demo
|
399 |
"Check out [Giant Music Transformer](https://github.com/asigalov61/Giant-Music-Transformer) on GitHub!\n\n"
|
400 |
"[Open In Colab]"
|
401 |
"(https://colab.research.google.com/github/asigalov61/Giant-Music-Transformer/blob/main/Giant_Music_Transformer.ipynb)"
|
402 |
" for all features, faster execution and endless generation"
|
403 |
)
|
404 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
|
406 |
-
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
407 |
input_num_of_notes = gr.Slider(8, 2048, value=128, step=8, label="Number of composition notes to inpaint")
|
408 |
input_patch_number = gr.Slider(0, 127, value=0, step=1, label="Composition MIDI patch to inpaint")
|
409 |
|
|
|
391 |
|
392 |
app = gr.Blocks()
|
393 |
with app:
|
394 |
+
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Intelligent MIDI Comparator</h1>")
|
395 |
+
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Intelligent comparison of any pair of MIDIs</h1>")
|
396 |
gr.Markdown(
|
397 |
+
"![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.Intelligent-MIDI-Comparator&style=flat)\n\n"
|
398 |
+
"This is a demo for the Giant Music Transformer\n\n"
|
399 |
"Check out [Giant Music Transformer](https://github.com/asigalov61/Giant-Music-Transformer) on GitHub!\n\n"
|
400 |
"[Open In Colab]"
|
401 |
"(https://colab.research.google.com/github/asigalov61/Giant-Music-Transformer/blob/main/Giant_Music_Transformer.ipynb)"
|
402 |
" for all features, faster execution and endless generation"
|
403 |
)
|
404 |
+
|
405 |
+
|
406 |
+
gr.Markdown("## Upload your MIDIs or select a sample example below")
|
407 |
+
|
408 |
+
gr.Markdown("## Upload source MIDI")
|
409 |
+
|
410 |
+
input_src_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
411 |
+
|
412 |
+
gr.Markdown("## Upload target MIDI")
|
413 |
+
|
414 |
+
input_trg_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"])
|
415 |
|
|
|
416 |
input_num_of_notes = gr.Slider(8, 2048, value=128, step=8, label="Number of composition notes to inpaint")
|
417 |
input_patch_number = gr.Slider(0, 127, value=0, step=1, label="Composition MIDI patch to inpaint")
|
418 |
|