ss
Browse files- __pycache__/beat_analysis.cpython-310.pyc +0 -0
- app.py +3 -0
__pycache__/beat_analysis.cpython-310.pyc
CHANGED
Binary files a/__pycache__/beat_analysis.cpython-310.pyc and b/__pycache__/beat_analysis.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -227,6 +227,9 @@ def generate_lyrics(music_analysis, genre, duration):
|
|
227 |
ONLY WRITE THE ACTUAL LYRICS. NO EXPLANATIONS OR META-TEXT.
|
228 |
"""
|
229 |
else:
|
|
|
|
|
|
|
230 |
# Calculate the typical syllable range for this genre
|
231 |
if num_phrases > 0:
|
232 |
# Get max syllables per line from templates
|
|
|
227 |
ONLY WRITE THE ACTUAL LYRICS. NO EXPLANATIONS OR META-TEXT.
|
228 |
"""
|
229 |
else:
|
230 |
+
# Create phrase examples
|
231 |
+
num_phrases = len(lyric_templates)
|
232 |
+
|
233 |
# Calculate the typical syllable range for this genre
|
234 |
if num_phrases > 0:
|
235 |
# Get max syllables per line from templates
|