asigalov61
commited on
Commit
•
3f70f5c
1
Parent(s):
ea63137
Update app.py
Browse files
app.py
CHANGED
@@ -156,8 +156,8 @@ def ClassifyMIDI(input_midi):
|
|
156 |
classification_summary_string += 'Composition has ' + str(notes_counter) + ' notes\n'
|
157 |
classification_summary_string += '=' * 70
|
158 |
classification_summary_string += '\n'
|
159 |
-
classification_summary_string += 'Composition was split into ' + 'samples
|
160 |
-
classification_summary_string += 'Number of notes in all composition
|
161 |
classification_summary_string += '=' * 70
|
162 |
classification_summary_string += '\n'
|
163 |
|
|
|
156 |
classification_summary_string += 'Composition has ' + str(notes_counter) + ' notes\n'
|
157 |
classification_summary_string += '=' * 70
|
158 |
classification_summary_string += '\n'
|
159 |
+
classification_summary_string += 'Composition was split into ' + 'samples of 340 notes each with ' + str(340 - chunk_size // classification_sampling_resolution // 3) + ' notes overlap\n'
|
160 |
+
classification_summary_string += 'Number of notes in all composition samples: ' + str(len(input_data) * 340) + '\n'
|
161 |
classification_summary_string += '=' * 70
|
162 |
classification_summary_string += '\n'
|
163 |
|