Kezovic commited on
Commit
306ec4b
·
verified ·
1 Parent(s): 0f73f3e

Update app.py

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