asigalov61
commited on
Commit
•
7af3767
1
Parent(s):
7bcb078
Update app.py
Browse files
app.py
CHANGED
@@ -206,6 +206,7 @@ if __name__ == "__main__":
|
|
206 |
|
207 |
app = gr.Blocks()
|
208 |
with app:
|
|
|
209 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Melody2Song Seq2Seq Music Transformer</h1>")
|
210 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Generate unique songs from melodies with seq2seq music transformer</h1>")
|
211 |
gr.Markdown(
|
@@ -213,6 +214,7 @@ if __name__ == "__main__":
|
|
213 |
"[Open In Colab]"
|
214 |
"(https://colab.research.google.com/#fileId=https://huggingface.co/spaces/asigalov61/Melody2Song-Seq2Seq-Music-Transformer/blob/main/Melody2Song_Seq2Seq_Music_Transformer.ipynb)"
|
215 |
" for custom MIDI melody option, faster execution and endless generation")
|
|
|
216 |
input_melody_seed_number = gr.Slider(0, 203664, value=0, step=1, label="Select seed melody number")
|
217 |
|
218 |
run_btn = gr.Button("generate", variant="primary")
|
|
|
206 |
|
207 |
app = gr.Blocks()
|
208 |
with app:
|
209 |
+
|
210 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Melody2Song Seq2Seq Music Transformer</h1>")
|
211 |
gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Generate unique songs from melodies with seq2seq music transformer</h1>")
|
212 |
gr.Markdown(
|
|
|
214 |
"[Open In Colab]"
|
215 |
"(https://colab.research.google.com/#fileId=https://huggingface.co/spaces/asigalov61/Melody2Song-Seq2Seq-Music-Transformer/blob/main/Melody2Song_Seq2Seq_Music_Transformer.ipynb)"
|
216 |
" for custom MIDI melody option, faster execution and endless generation")
|
217 |
+
|
218 |
input_melody_seed_number = gr.Slider(0, 203664, value=0, step=1, label="Select seed melody number")
|
219 |
|
220 |
run_btn = gr.Button("generate", variant="primary")
|