Spaces:
Runtime error
Runtime error
add optimise midi
Browse files
app.py
CHANGED
@@ -306,7 +306,7 @@ if __name__ == "__main__":
|
|
306 |
input_midi_events = gr.Slider(label="use first n midi events as prompt", minimum=1, maximum=512,
|
307 |
step=1,
|
308 |
value=128)
|
309 |
-
input_midi_opt = gr.Checkbox(label="optimise midi", value=True)
|
310 |
example2 = gr.Examples([[file, 128] for file in glob.glob("example/*.mid")],
|
311 |
[input_midi, input_midi_events])
|
312 |
|
|
|
306 |
input_midi_events = gr.Slider(label="use first n midi events as prompt", minimum=1, maximum=512,
|
307 |
step=1,
|
308 |
value=128)
|
309 |
+
input_midi_opt = gr.Checkbox(label="optimise midi (uncheck if your midi is generate from this model)", value=True)
|
310 |
example2 = gr.Examples([[file, 128] for file in glob.glob("example/*.mid")],
|
311 |
[input_midi, input_midi_events])
|
312 |
|