Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +1 -2
prompts.py
CHANGED
@@ -24,9 +24,8 @@ def create_offer_instruction(target_audience, product_name, selected_formula_nam
|
|
24 |
# Get the selected formula
|
25 |
selected_formula = offer_formulas[selected_formula_name]
|
26 |
|
27 |
-
# Get formula-specific instructions
|
28 |
additional_instructions = selected_formula.get("instructions", "")
|
29 |
-
additional_description = selected_formula.get("description", "")
|
30 |
|
31 |
# Create the base instruction
|
32 |
instruction = f"""{offer_system_prompt}
|
|
|
24 |
# Get the selected formula
|
25 |
selected_formula = offer_formulas[selected_formula_name]
|
26 |
|
27 |
+
# Get formula-specific instructions (empty string if not found)
|
28 |
additional_instructions = selected_formula.get("instructions", "")
|
|
|
29 |
|
30 |
# Create the base instruction
|
31 |
instruction = f"""{offer_system_prompt}
|