asigalov61 commited on
Commit
bda89a8
1 Parent(s): d4eee16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,8 +192,8 @@ def GenerateDrums(input_midi, input_num_tokens, progress=gr.Progress()):
192
  #========================================================
193
 
194
  output_midi_title = str(fn1)
195
- output_midi_summary = str('')
196
- output_midi = str(fn1)
197
  output_audio = (16000, audio)
198
 
199
  output_plot = TMIDIX.plot_ms_SONG(song_f, plot_title=output_midi, return_plt=True)
 
192
  #========================================================
193
 
194
  output_midi_title = str(fn1)
195
+ output_midi_summary = str(song_f[:3])
196
+ output_midi = str(new_fn)
197
  output_audio = (16000, audio)
198
 
199
  output_plot = TMIDIX.plot_ms_SONG(song_f, plot_title=output_midi, return_plt=True)