asigalov61 commited on
Commit
a32a412
1 Parent(s): 8391270

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -80,18 +80,16 @@ def AddMelody(input_midi, input_channel, input_patch, input_start_chord):
80
  print('=' * 70)
81
 
82
  output_score, patches, overflow_patches = TMIDIX.patch_enhanced_score_notes(output)
83
-
84
- fn1 = "Chords-Progressions-Transformer-Composition"
85
-
86
  detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(output_score,
87
  output_signature = 'MIDI Melody',
88
- output_file_name = fn1,
89
  track_name='Project Los Angeles',
90
  list_of_MIDI_patches=patches,
91
  timings_multiplier=16
92
  )
93
 
94
- new_fn = fn1+'.mid'
95
 
96
 
97
  audio = midi_to_colab_audio(new_fn,
 
80
  print('=' * 70)
81
 
82
  output_score, patches, overflow_patches = TMIDIX.patch_enhanced_score_notes(output)
83
+
 
 
84
  detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(output_score,
85
  output_signature = 'MIDI Melody',
86
+ output_file_name = fn,
87
  track_name='Project Los Angeles',
88
  list_of_MIDI_patches=patches,
89
  timings_multiplier=16
90
  )
91
 
92
+ new_fn = fn+'.mid'
93
 
94
 
95
  audio = midi_to_colab_audio(new_fn,