Dragunflie-420 commited on
Commit
2d89c62
·
verified ·
1 Parent(s): 8d92046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -248,7 +248,7 @@ def save_midi(tokens, batch_number=None):
248
  output_file_name = fname,
249
  track_name='Project Los Angeles',
250
  list_of_MIDI_patches=patches,
251
- verbose=False
252
  )
253
 
254
  return song_f
@@ -297,8 +297,8 @@ def generate_music(prime,
297
  filter_logits_fn=top_p,
298
  filter_kwargs={'thres': model_sampling_top_p},
299
  temperature=model_temperature,
300
- return_prime=False,
301
- verbose=False)
302
 
303
  output = out.tolist()
304
 
 
248
  output_file_name = fname,
249
  track_name='Project Los Angeles',
250
  list_of_MIDI_patches=patches,
251
+ verbose=True
252
  )
253
 
254
  return song_f
 
297
  filter_logits_fn=top_p,
298
  filter_kwargs={'thres': model_sampling_top_p},
299
  temperature=model_temperature,
300
+ return_prime=True,
301
+ verbose=True)
302
 
303
  output = out.tolist()
304