asigalov61 commited on
Commit
e06f0cf
1 Parent(s): f126ddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def run(search_prompt):
102
  yield mid_seq, None, None, init_msgs
103
 
104
  for i in range(len(mid_seq)):
105
- yield mid_seq, None, None, [create_msg("visualizer_append", mid_seq[i]), create_msg("progress", [i + 1, len(mid_seq))]
106
 
107
  with open(f"output.mid", 'wb') as f:
108
  f.write(MIDI.score2midi(mid_seq))
 
102
  yield mid_seq, None, None, init_msgs
103
 
104
  for i in range(len(mid_seq)):
105
+ yield mid_seq, None, None, [create_msg("visualizer_append", mid_seq[i]), create_msg("progress", [i + 1, len(mid_seq)])]
106
 
107
  with open(f"output.mid", 'wb') as f:
108
  f.write(MIDI.score2midi(mid_seq))