asigalov61
commited on
Commit
•
8e723a3
1
Parent(s):
8979d67
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def pitches_counts(melody_score):
|
|
41 |
|
42 |
return pcounts
|
43 |
|
44 |
-
=================================================================================================
|
45 |
|
46 |
def find_similar_song(songs, src_melody):
|
47 |
|
@@ -72,7 +72,7 @@ def find_similar_song(songs, src_melody):
|
|
72 |
|
73 |
return songs[ratios.index(max_ratio)]
|
74 |
|
75 |
-
=================================================================================================
|
76 |
|
77 |
def mix_chord(chord, tones_chord, mel_patch, mel_pitch):
|
78 |
|
|
|
41 |
|
42 |
return pcounts
|
43 |
|
44 |
+
# =================================================================================================
|
45 |
|
46 |
def find_similar_song(songs, src_melody):
|
47 |
|
|
|
72 |
|
73 |
return songs[ratios.index(max_ratio)]
|
74 |
|
75 |
+
# =================================================================================================
|
76 |
|
77 |
def mix_chord(chord, tones_chord, mel_patch, mel_pitch):
|
78 |
|