KingNish commited on
Commit
9890dcd
·
1 Parent(s): 4864f6d

modified: app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -154,6 +154,7 @@ def generate_music(genres, lyrics_content, num_segments_run, max_new_tokens_run)
154
  stage1_output_set_local = [] # Modified: Local variable to store output paths
155
 
156
  lyrics = split_lyrics(lyrics_content)
 
157
  # intruction
158
  full_lyrics = "\n".join(lyrics)
159
  prompt_texts = [f"Generate music from the given lyrics segment by segment.\n[Genre] {genres}\n{full_lyrics}"]
 
154
  stage1_output_set_local = [] # Modified: Local variable to store output paths
155
 
156
  lyrics = split_lyrics(lyrics_content)
157
+ print(len(lyrics))
158
  # intruction
159
  full_lyrics = "\n".join(lyrics)
160
  prompt_texts = [f"Generate music from the given lyrics segment by segment.\n[Genre] {genres}\n{full_lyrics}"]