WWMachine commited on
Commit
8d22e1c
·
verified ·
1 Parent(s): 1146eca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}\n"
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
  )