fruitpicker01
commited on
Commit
•
031a62a
1
Parent(s):
b1972ae
Update app.py
Browse files
app.py
CHANGED
@@ -730,7 +730,7 @@ def generate_all_messages(desc, benefits, key_message, gender, generation, psych
|
|
730 |
current_prefix, current_suffix = approach_mapping[approach_name]
|
731 |
personalization_prompt = generate_personalization_prompt(
|
732 |
key_message, gender, generation, psychotype, business_stage, industry, opf,
|
733 |
-
prefix=current_prefix, suffix=current_suffix
|
734 |
)
|
735 |
display_personalization_prompt = clean_prompt_for_display(personalization_prompt, [current_prefix], [current_suffix])
|
736 |
if flag == 1:
|
|
|
730 |
current_prefix, current_suffix = approach_mapping[approach_name]
|
731 |
personalization_prompt = generate_personalization_prompt(
|
732 |
key_message, gender, generation, psychotype, business_stage, industry, opf,
|
733 |
+
prefix=current_prefix, suffix=current_suffix, product_name=product_name
|
734 |
)
|
735 |
display_personalization_prompt = clean_prompt_for_display(personalization_prompt, [current_prefix], [current_suffix])
|
736 |
if flag == 1:
|