Kezovic commited on
Commit
1ea7808
·
verified ·
1 Parent(s): 4f72738

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ def build_poem_prompt(voice_instruction, constraint_instruction, format_type, to
52
  # Combined, prioritized instruction block for maximum clarity
53
  full_instruction = (
54
  f"Instruction:\n"
55
- f"{selected_voice}\n"
56
- f"{selected_constraint} Your response should only contain the {format_type} that you generate. Nothing else.\n"
57
  f"Write the {format_type} about this topic: '{topic}'.\n\n"
58
  )
59
  return full_instruction
 
52
  # Combined, prioritized instruction block for maximum clarity
53
  full_instruction = (
54
  f"Instruction:\n"
55
+ f"{voice_instruction}\n"
56
+ f"{constraint_instruction} Your response should only contain the {format_type} that you generate. Nothing else.\n"
57
  f"Write the {format_type} about this topic: '{topic}'.\n\n"
58
  )
59
  return full_instruction