asigalov61
commited on
Commit
•
d1f9189
1
Parent(s):
4607eba
Update app.py
Browse files
app.py
CHANGED
@@ -277,7 +277,6 @@ if __name__ == "__main__":
|
|
277 |
|
278 |
soundfont = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
|
279 |
|
280 |
-
print('=' * 70)
|
281 |
print('Loading processed Pitches Chords Progressions dataset data...')
|
282 |
print('=' * 70)
|
283 |
long_tones_chords_dict, all_long_chords_tokens_chunks, all_long_good_chords_chunks = TMIDIX.Tegridy_Any_Pickle_File_Reader('processed_chords_progressions_chunks_data')
|
@@ -286,6 +285,8 @@ if __name__ == "__main__":
|
|
286 |
print('Resulting chords dictionary size:', len(long_tones_chords_dict))
|
287 |
print('=' * 70)
|
288 |
print('Loading chords chunks...')
|
|
|
|
|
289 |
|
290 |
src_long_chunks = np.array([a[:chunk_size] for a in all_long_chords_tokens_chunks])
|
291 |
|
|
|
277 |
|
278 |
soundfont = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
|
279 |
|
|
|
280 |
print('Loading processed Pitches Chords Progressions dataset data...')
|
281 |
print('=' * 70)
|
282 |
long_tones_chords_dict, all_long_chords_tokens_chunks, all_long_good_chords_chunks = TMIDIX.Tegridy_Any_Pickle_File_Reader('processed_chords_progressions_chunks_data')
|
|
|
285 |
print('Resulting chords dictionary size:', len(long_tones_chords_dict))
|
286 |
print('=' * 70)
|
287 |
print('Loading chords chunks...')
|
288 |
+
|
289 |
+
chunk_size = 4
|
290 |
|
291 |
src_long_chunks = np.array([a[:chunk_size] for a in all_long_chords_tokens_chunks])
|
292 |
|