Spaces:
Running
on
Zero
Running
on
Zero
Dragunflie-420
commited on
Update app.py
Browse files
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=
|
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=
|
301 |
-
verbose=
|
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 |
|