asigalov61 commited on
Commit
3858291
1 Parent(s): 67e09bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -238,6 +238,9 @@ def render_midi(input_midi,
238
 
239
  else:
240
  srate = 16000
 
 
 
241
 
242
  audio = midi_to_colab_audio(new_fn,
243
  soundfont_path=soundfonts[sf2bank],
@@ -246,6 +249,8 @@ def render_midi(input_midi,
246
  output_for_gradio=True
247
  )
248
 
 
 
249
  new_md5_hash = hashlib.md5(open(new_fn,'rb').read()).hexdigest()
250
 
251
  print('Done!')
 
238
 
239
  else:
240
  srate = 16000
241
+
242
+ print('-' * 70)
243
+ print('Generating audio with SF2 bank', sf2bank, 'and', srate, 'Hz sample rate')
244
 
245
  audio = midi_to_colab_audio(new_fn,
246
  soundfont_path=soundfonts[sf2bank],
 
249
  output_for_gradio=True
250
  )
251
 
252
+ print('-' * 70)
253
+
254
  new_md5_hash = hashlib.md5(open(new_fn,'rb').read()).hexdigest()
255
 
256
  print('Done!')