Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def build_poem_prompt(voice_instruction, constraint_instruction, format_type, to
|
|
| 54 |
full_instruction = (
|
| 55 |
f"Instruction:\n"
|
| 56 |
f"{voice_instruction}\n"
|
| 57 |
-
f"{constraint_instruction} Your response should only contain the {format_type} that you generate
|
| 58 |
f"Write the {format_type} about this topic: '{topic}'.\n\n"
|
| 59 |
)
|
| 60 |
return full_instruction
|
|
|
|
| 54 |
full_instruction = (
|
| 55 |
f"Instruction:\n"
|
| 56 |
f"{voice_instruction}\n"
|
| 57 |
+
f"{constraint_instruction} Your response should only contain the text of the {format_type} that you generate.\n"
|
| 58 |
f"Write the {format_type} about this topic: '{topic}'.\n\n"
|
| 59 |
)
|
| 60 |
return full_instruction
|