fruitpicker01 commited on
Commit
f2764da
1 Parent(s): dea71ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -735,7 +735,7 @@ def generate_all_messages(desc, benefits, key_message, gender, generation, psych
735
  )
736
  display_personalization_prompt = clean_prompt_for_display(personalization_prompt, [current_prefix], [current_suffix])
737
  if flag == 1:
738
- yield selected_approaches_text_content, standard_prompt, display_personalization_prompt, None, None
739
  flag += 1
740
  prompt = add_prefix_suffix(standard_prompt, current_prefix, current_suffix, product_name)
741
  non_personalized_message = generate_message_mistral_with_retry(prompt, approach_name, desc, key_message)
 
735
  )
736
  display_personalization_prompt = clean_prompt_for_display(personalization_prompt, [current_prefix], [current_suffix])
737
  if flag == 1:
738
+ yield selected_approaches_text_content, standard_prompt_for_display, display_personalization_prompt, None, None
739
  flag += 1
740
  prompt = add_prefix_suffix(standard_prompt, current_prefix, current_suffix, product_name)
741
  non_personalized_message = generate_message_mistral_with_retry(prompt, approach_name, desc, key_message)