asigalov61
commited on
Commit
•
e91a55e
1
Parent(s):
1601dd1
Update app.py
Browse files
app.py
CHANGED
@@ -64,11 +64,12 @@ def Generate_POP_Medley(input_num_medley_comps):
|
|
64 |
).to(DEVICE)
|
65 |
|
66 |
print('=' * 70)
|
67 |
-
|
68 |
print('Loading model checkpoint...')
|
|
|
69 |
|
70 |
trainer.load('Imagen_POP909_64_dim_12638_steps_0.00983_loss.ckpt')
|
71 |
|
|
|
72 |
print('Done!')
|
73 |
print('=' * 70)
|
74 |
|
@@ -122,8 +123,10 @@ def Generate_POP_Medley(input_num_medley_comps):
|
|
122 |
print('=' * 70)
|
123 |
|
124 |
fn1 = "Imagen-POP-Music-Medley-Diffusion-Transformer-Composition"
|
|
|
|
|
125 |
|
126 |
-
detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(
|
127 |
output_signature = 'Imagen POP Music Medley',
|
128 |
output_file_name = fn1,
|
129 |
track_name='Project Los Angeles',
|
|
|
64 |
).to(DEVICE)
|
65 |
|
66 |
print('=' * 70)
|
|
|
67 |
print('Loading model checkpoint...')
|
68 |
+
print('=' * 70)
|
69 |
|
70 |
trainer.load('Imagen_POP909_64_dim_12638_steps_0.00983_loss.ckpt')
|
71 |
|
72 |
+
print('=' * 70)
|
73 |
print('Done!')
|
74 |
print('=' * 70)
|
75 |
|
|
|
123 |
print('=' * 70)
|
124 |
|
125 |
fn1 = "Imagen-POP-Music-Medley-Diffusion-Transformer-Composition"
|
126 |
+
|
127 |
+
output_score, patches, overflow_patches = TMIDIX.patch_enhanced_score_notes(medley_escore)
|
128 |
|
129 |
+
detailed_stats = TMIDIX.Tegridy_ms_SONG_to_MIDI_Converter(output_score,
|
130 |
output_signature = 'Imagen POP Music Medley',
|
131 |
output_file_name = fn1,
|
132 |
track_name='Project Los Angeles',
|