ccolas commited on
Commit
01538c1
1 Parent(s): c5ba1ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def pianocktail(unit='mL', record=False, url=None, midi=None, audio=None, proces
89
  if verbose: print('------\nNew synesthetic exploration!')
90
  init_time = time.time()
91
  try:
92
- with st.spinner("Listening to the song (~20s).."):
93
  music_ai_rep, music_handcoded_rep, all_paths, error = encode_music(record=record, url=url, audio_path=audio, midi_path=midi, nb_aug=0, noise_injection=False,
94
  augmentation=False, processed_path=processed, crop=crop, apply_filtering=False, verbose=verbose,
95
  level=level+2)
 
89
  if verbose: print('------\nNew synesthetic exploration!')
90
  init_time = time.time()
91
  try:
92
+ with st.spinner("Listening to the song (~1min).."):
93
  music_ai_rep, music_handcoded_rep, all_paths, error = encode_music(record=record, url=url, audio_path=audio, midi_path=midi, nb_aug=0, noise_injection=False,
94
  augmentation=False, processed_path=processed, crop=crop, apply_filtering=False, verbose=verbose,
95
  level=level+2)