Spaces:
Runtime error
Runtime error
change prompt building
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ class AudioPalette:
|
|
38 |
if instrument is None:
|
39 |
prompt = f"A soundtrack for {generated_text} with {self.pace_map[pace]} beats per minute. High quality."
|
40 |
else:
|
41 |
-
prompt = f"A soundtrack for {generated_text} with {self.pace_map[pace]} beats per minute
|
42 |
|
43 |
print("Generated Prompt:", prompt)
|
44 |
|
|
|
38 |
if instrument is None:
|
39 |
prompt = f"A soundtrack for {generated_text} with {self.pace_map[pace]} beats per minute. High quality."
|
40 |
else:
|
41 |
+
prompt = f"A {instrument} soundtrack for {generated_text} with {self.pace_map[pace]} beats per minute. High quality."
|
42 |
|
43 |
print("Generated Prompt:", prompt)
|
44 |
|