JeCabrera commited on
Commit
31277bb
verified
1 Parent(s): 09a8159

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +2 -15
prompts.py CHANGED
@@ -178,19 +178,6 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
178
 
179
  # Crear la lista numerada de verificaciones
180
  policy_checks = "\n".join([f"{i+1}. {check}" for i, check in enumerate(policy_checklist)])
181
-
182
- # Add the story_instruction to the main instruction
183
- # Modificaci贸n en el enfoque del problema y el uso de la segunda persona
184
- instruction = f"""
185
- {system_prompt}
186
-
187
- Create three completely different high-converting Facebook ad copies for {product}, channeling the voice of {selected_persona['description']} while leveraging the selected angle to persuade {target_audience} to try it and share their positive experience.
188
-
189
- {objective_instruction if ad_objective else ""}
190
-
191
- {story_instruction if story_prompt else ""}
192
-
193
- {persona_instruction}
194
 
195
  # Generar titulares aleatorios con diferentes estructuras
196
  random_headlines = generate_random_headlines(
@@ -231,8 +218,8 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
231
  o crear nuevos titulares inspirados en estos, pero ASEG脷RATE de mantener VARIEDAD en los tipos de estructura
232
  entre los tres anuncios finales.
233
  """
234
-
235
- # Modificar la instrucci贸n principal para incluir los titulares pre-generados
236
  instruction = f"""
237
  {system_prompt}
238
 
 
178
 
179
  # Crear la lista numerada de verificaciones
180
  policy_checks = "\n".join([f"{i+1}. {check}" for i, check in enumerate(policy_checklist)])
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
182
  # Generar titulares aleatorios con diferentes estructuras
183
  random_headlines = generate_random_headlines(
 
218
  o crear nuevos titulares inspirados en estos, pero ASEG脷RATE de mantener VARIEDAD en los tipos de estructura
219
  entre los tres anuncios finales.
220
  """
221
+
222
+ # Modificaci贸n en el enfoque del problema y el uso de la segunda persona
223
  instruction = f"""
224
  {system_prompt}
225