asigalov61 commited on
Commit
57db528
1 Parent(s): 0800621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def GenerateMIDI(progress=gr.Progress()):
102
  channel = (ss-1280) // 128
103
  pitch = (ss-1280) % 128
104
 
105
- song_f.append(['note', time, dur, channel, pitch, vel ])
106
 
107
  output_signature = 'Allegro Music Transformer'
108
  output_file_name = 'Allegro-Music-Transformer-Music-Composition'
 
102
  channel = (ss-1280) // 128
103
  pitch = (ss-1280) % 128
104
 
105
+ song_f.append(['note', int(time), int(dur), int(channel), int(pitch), int(vel) ])
106
 
107
  output_signature = 'Allegro Music Transformer'
108
  output_file_name = 'Allegro-Music-Transformer-Music-Composition'