misnaej commited on
Commit
0aa0b00
1 Parent(s): 725968f

epsilon update

Browse files
Files changed (1) hide show
  1. 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.get_selected_track_as_text(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")
 
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")