asigalov61 commited on
Commit
1601dd1
1 Parent(s): d3f03ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -123,11 +123,12 @@ def Generate_POP_Medley(input_num_medley_comps):
123
 
124
  fn1 = "Imagen-POP-Music-Medley-Diffusion-Transformer-Composition"
125
 
126
- detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(song_f,
127
  output_signature = 'Imagen POP Music Medley',
128
  output_file_name = fn1,
129
  track_name='Project Los Angeles',
130
- list_of_MIDI_patches=patches
 
131
  )
132
 
133
  new_fn = fn1+'.mid'
@@ -146,7 +147,7 @@ def Generate_POP_Medley(input_num_medley_comps):
146
  #========================================================
147
 
148
  output_midi_title = str(fn1)
149
- output_midi_summary = str(song_f[:3])
150
  output_midi = str(new_fn)
151
  output_audio = (16000, audio)
152
 
 
123
 
124
  fn1 = "Imagen-POP-Music-Medley-Diffusion-Transformer-Composition"
125
 
126
+ detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(medley_escore,
127
  output_signature = 'Imagen POP Music Medley',
128
  output_file_name = fn1,
129
  track_name='Project Los Angeles',
130
+ list_of_MIDI_patches=patches,
131
+ timings_multiplier=256
132
  )
133
 
134
  new_fn = fn1+'.mid'
 
147
  #========================================================
148
 
149
  output_midi_title = str(fn1)
150
+ output_midi_summary = str(medley_escore[:3])
151
  output_midi = str(new_fn)
152
  output_audio = (16000, audio)
153