asigalov61
commited on
Commit
•
29f4f6c
1
Parent(s):
df03c6b
Update app.py
Browse files
app.py
CHANGED
@@ -56,14 +56,14 @@ if __name__ == "__main__":
|
|
56 |
opt = parser.parse_args()
|
57 |
|
58 |
app = gr.Blocks()
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
)
|
68 |
|
69 |
app.queue(2).launch(server_port=opt.port, share=opt.share, inbrowser=True)
|
|
|
56 |
opt = parser.parse_args()
|
57 |
|
58 |
app = gr.Blocks()
|
59 |
+
with app:
|
60 |
+
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Midi Composer</h1>")
|
61 |
+
gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.midi-composer&style=flat)\n\n"
|
62 |
+
"Midi event transformer for music generation\n\n"
|
63 |
+
"Demo for [SkyTNT/midi-model](https://github.com/SkyTNT/midi-model)\n\n"
|
64 |
+
"[Open In Colab]"
|
65 |
+
"(https://colab.research.google.com/github/SkyTNT/midi-model/blob/main/demo.ipynb)"
|
66 |
+
" for faster running and longer generation"
|
67 |
)
|
68 |
|
69 |
app.queue(2).launch(server_port=opt.port, share=opt.share, inbrowser=True)
|