Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ def generate_music(
|
|
171 |
print(list(enumerate(tqdm(prompt_texts[:run_n_segments]))))
|
172 |
|
173 |
for i, p in enumerate(tqdm(prompt_texts[:run_n_segments])):
|
174 |
-
print(i+". " + p + "\n\n")
|
175 |
section_text = p.replace('[start_of_segment]', '').replace('[end_of_segment]', '')
|
176 |
guidance_scale = 1.5 if i <= 1 else 1.2 # Guidance scale adjusted based on segment index
|
177 |
if i == 0:
|
|
|
171 |
print(list(enumerate(tqdm(prompt_texts[:run_n_segments]))))
|
172 |
|
173 |
for i, p in enumerate(tqdm(prompt_texts[:run_n_segments])):
|
174 |
+
print(str(i) +". " + str(p) + "\n\n")
|
175 |
section_text = p.replace('[start_of_segment]', '').replace('[end_of_segment]', '')
|
176 |
guidance_scale = 1.5 if i <= 1 else 1.2 # Guidance scale adjusted based on segment index
|
177 |
if i == 0:
|