Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ def generate_poem(format_type, persona, topic, progress=gr.Progress()):
|
|
| 67 |
full_prompt = (
|
| 68 |
f"### Instruction:\n"
|
| 69 |
f"{selected_voice}\n"
|
| 70 |
-
f"{selected_constraint} Your response should only contain the {format_type}
|
| 71 |
f"The subject of the poem is: '{topic}'.\n\n"
|
| 72 |
f"### Response:\n"
|
| 73 |
)
|
|
|
|
| 67 |
full_prompt = (
|
| 68 |
f"### Instruction:\n"
|
| 69 |
f"{selected_voice}\n"
|
| 70 |
+
f"{selected_constraint} Your response should only contain the {format_type} that you generate. Nothing else.\n"
|
| 71 |
f"The subject of the poem is: '{topic}'.\n\n"
|
| 72 |
f"### Response:\n"
|
| 73 |
)
|