JeCabrera commited on
Commit
4ed7f43
·
verified ·
1 Parent(s): f683dcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -219,10 +219,11 @@ with col2:
219
  product_name = "Sistema Profesional"
220
 
221
  # Get the instruction using the formula
 
222
  instruction = create_offer_instruction(
223
  avatar_description=avatar_description,
224
  product_name=product_name,
225
- selected_formula_name=st.session_state.formula_type
226
  )
227
 
228
  # Add instruction for generating benefit bullets based on the promise
 
219
  product_name = "Sistema Profesional"
220
 
221
  # Get the instruction using the formula
222
+ # Find where create_offer_instruction is being called, around line 222
223
  instruction = create_offer_instruction(
224
  avatar_description=avatar_description,
225
  product_name=product_name,
226
+ selected_formula_name=st.session_state.formula_type # Changed from selected_formula to st.session_state.formula_type
227
  )
228
 
229
  # Add instruction for generating benefit bullets based on the promise