JeCabrera commited on
Commit
b54ac5a
·
verified ·
1 Parent(s): f419dc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -183,6 +183,7 @@ with col1:
183
  help='Valores más altos hacen que el resultado sea más creativo pero menos enfocado')
184
 
185
  # Results column
 
186
  with col2:
187
  if st.session_state.submitted and not st.session_state.generated:
188
  with st.spinner('Creando tu oferta perfecta...'):
@@ -202,6 +203,17 @@ with col2:
202
  selected_formula_name=st.session_state.formula_type
203
  )
204
 
 
 
 
 
 
 
 
 
 
 
 
205
  # Add additional context based on input type
206
  if st.session_state.input_type == "manual":
207
  additional_context = f"""
 
183
  help='Valores más altos hacen que el resultado sea más creativo pero menos enfocado')
184
 
185
  # Results column
186
+ # In the section where you're generating the offer
187
  with col2:
188
  if st.session_state.submitted and not st.session_state.generated:
189
  with st.spinner('Creando tu oferta perfecta...'):
 
203
  selected_formula_name=st.session_state.formula_type
204
  )
205
 
206
+ # Add specific instructions for more creative hooks when using Oferta Dorada
207
+ if st.session_state.formula_type == "Oferta Dorada":
208
+ creative_hook_instruction = """
209
+ IMPORTANT INSTRUCTION FOR THE ATTENTION HOOK:
210
+ Make the first line (attention hook) extremely creative, disruptive, and emotionally impactful.
211
+ Use unexpected comparisons, shocking statistics, provocative questions, or dramatic scenarios.
212
+ The hook should be surprising and immediately grab attention with unconventional language or framing.
213
+ Avoid generic statements and create a sense of urgency or curiosity.
214
+ """
215
+ instruction += creative_hook_instruction
216
+
217
  # Add additional context based on input type
218
  if st.session_state.input_type == "manual":
219
  additional_context = f"""