asigalov61
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ if __name__ == "__main__":
|
|
247 |
"Check out [Tegridy MIDI Dataset](https://github.com/asigalov61/Tegridy-MIDI-Dataset) on GitHub!\n\n"
|
248 |
)
|
249 |
|
250 |
-
gr.Markdown("## Enter Parsons code
|
251 |
|
252 |
input_parsons_code = gr.Textbox(label="Parsons code",
|
253 |
info="Make sure your Parsons code starts with *",
|
@@ -262,7 +262,7 @@ if __name__ == "__main__":
|
|
262 |
|
263 |
clr_btn.click(reset_pcode, outputs=input_parsons_code)
|
264 |
|
265 |
-
gr.Markdown("## Select generation options")
|
266 |
|
267 |
input_first_note_duration = gr.Slider(1, 127, value=15, step=1, label="First note duration value")
|
268 |
iinput_first_note_MIDI_pitch = gr.Slider(1, 127, value=60, step=1, label="First note MIDI pitch")
|
@@ -284,6 +284,11 @@ if __name__ == "__main__":
|
|
284 |
|
285 |
gr.Examples(
|
286 |
[["*UUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUU", 15, 60],
|
|
|
|
|
|
|
|
|
|
|
287 |
],
|
288 |
[input_parsons_code,
|
289 |
input_first_note_duration,
|
|
|
247 |
"Check out [Tegridy MIDI Dataset](https://github.com/asigalov61/Tegridy-MIDI-Dataset) on GitHub!\n\n"
|
248 |
)
|
249 |
|
250 |
+
gr.Markdown("## Enter Parsons code:")
|
251 |
|
252 |
input_parsons_code = gr.Textbox(label="Parsons code",
|
253 |
info="Make sure your Parsons code starts with *",
|
|
|
262 |
|
263 |
clr_btn.click(reset_pcode, outputs=input_parsons_code)
|
264 |
|
265 |
+
gr.Markdown("## Select generation options:")
|
266 |
|
267 |
input_first_note_duration = gr.Slider(1, 127, value=15, step=1, label="First note duration value")
|
268 |
iinput_first_note_MIDI_pitch = gr.Slider(1, 127, value=60, step=1, label="First note MIDI pitch")
|
|
|
284 |
|
285 |
gr.Examples(
|
286 |
[["*UUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUUDDDDDDDUUUUUUU", 15, 60],
|
287 |
+
["*UDDDUDDDUDRURUDUUDRDDUDDRUDUDURUDRUDUDDDUDDDRDUURUDUUDDDUDRRUUD", 15, 60],
|
288 |
+
["*DUDDDUUDDUUDDUDUDDDUUUUUDDDDUDDDUUDDUUDDUUDUDDUDDDUUDDUUDDUDUDD", 15, 60],
|
289 |
+
["*DUUDDRDDUURUDUDDDUDDDDDURDDUDRDURUURUURDDDUURDUURUDUUDURDUDUDRD", 15, 60],
|
290 |
+
["*UUUDDUUUDDDDDUDDUUDDDDUUDDUDDDDDUUUDDDDDUDDUUUDDDURDUDUUUDDUUUD", 15, 60],
|
291 |
+
["*UDUUDRUDDUDRURUURUUUUUDUDDUDDUDDUDRUDDUDRUDDDUDUUDRUDDUDRURUURU", 15, 60],
|
292 |
],
|
293 |
[input_parsons_code,
|
294 |
input_first_note_duration,
|