Update app.py
Browse files
app.py
CHANGED
|
@@ -318,22 +318,8 @@ with gr.Blocks() as demo:
|
|
| 318 |
|
| 319 |
#==================================================================================
|
| 320 |
|
| 321 |
-
gr.Markdown("## Upload source MIDI or select a sample MIDI
|
| 322 |
gr.Markdown("### PLEASE NOTE: The demo is limited and will only texture first 128 chords of the MIDI file")
|
| 323 |
-
|
| 324 |
-
gr.Examples(
|
| 325 |
-
[["Sharing The Night Together.kar", 0.9, 0.96]
|
| 326 |
-
],
|
| 327 |
-
[input_midi,
|
| 328 |
-
model_temperature,
|
| 329 |
-
model_sampling_top_p
|
| 330 |
-
],
|
| 331 |
-
[output_audio,
|
| 332 |
-
output_plot,
|
| 333 |
-
output_midi
|
| 334 |
-
],
|
| 335 |
-
Generate_Chords_Textures
|
| 336 |
-
)
|
| 337 |
|
| 338 |
input_midi = gr.File(label="Input MIDI",
|
| 339 |
file_types=[".midi", ".mid", ".kar"]
|
|
@@ -364,6 +350,20 @@ with gr.Blocks() as demo:
|
|
| 364 |
]
|
| 365 |
)
|
| 366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 367 |
#==================================================================================
|
| 368 |
|
| 369 |
demo.launch()
|
|
|
|
| 318 |
|
| 319 |
#==================================================================================
|
| 320 |
|
| 321 |
+
gr.Markdown("## Upload source MIDI or select a sample MIDI on the bottom of the page")
|
| 322 |
gr.Markdown("### PLEASE NOTE: The demo is limited and will only texture first 128 chords of the MIDI file")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 323 |
|
| 324 |
input_midi = gr.File(label="Input MIDI",
|
| 325 |
file_types=[".midi", ".mid", ".kar"]
|
|
|
|
| 350 |
]
|
| 351 |
)
|
| 352 |
|
| 353 |
+
gr.Examples(
|
| 354 |
+
[["Sharing The Night Together.kar", 0.9, 0.96]
|
| 355 |
+
],
|
| 356 |
+
[input_midi,
|
| 357 |
+
model_temperature,
|
| 358 |
+
model_sampling_top_p
|
| 359 |
+
],
|
| 360 |
+
[output_audio,
|
| 361 |
+
output_plot,
|
| 362 |
+
output_midi
|
| 363 |
+
],
|
| 364 |
+
Generate_Chords_Textures
|
| 365 |
+
)
|
| 366 |
+
|
| 367 |
#==================================================================================
|
| 368 |
|
| 369 |
demo.launch()
|