epsilon update
Browse files- playground.py +1 -1
playground.py
CHANGED
|
@@ -96,7 +96,7 @@ def generator(
|
|
| 96 |
decoder.get_midi(generated_text, "mixed.mid")
|
| 97 |
mixed_inst_midi, mixed_audio = get_music("mixed.mid")
|
| 98 |
# get the instrument text MIDI
|
| 99 |
-
inst_text = genesis.
|
| 100 |
# save the instrument midi and get the instrument audio
|
| 101 |
decoder.get_midi(inst_text, f"{instrument}.mid")
|
| 102 |
_, inst_audio = get_music(f"{instrument}.mid")
|
|
|
|
| 96 |
decoder.get_midi(generated_text, "mixed.mid")
|
| 97 |
mixed_inst_midi, mixed_audio = get_music("mixed.mid")
|
| 98 |
# get the instrument text MIDI
|
| 99 |
+
inst_text = genesis.get_whole_track_from_bar_dict(inst_index)
|
| 100 |
# save the instrument midi and get the instrument audio
|
| 101 |
decoder.get_midi(inst_text, f"{instrument}.mid")
|
| 102 |
_, inst_audio = get_music(f"{instrument}.mid")
|