Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def generate_headlines(number_of_headlines, target_audience, product, temperatur
|
|
92 |
model = genai.GenerativeModel(
|
93 |
model_name="gemini-1.5-flash",
|
94 |
generation_config=generation_config,
|
95 |
-
system_instruction="
|
96 |
)
|
97 |
|
98 |
chat_session = model.start_chat(
|
|
|
92 |
model = genai.GenerativeModel(
|
93 |
model_name="gemini-1.5-flash",
|
94 |
generation_config=generation_config,
|
95 |
+
system_instruction="You are a world-class copywriter with experience in creating hooks, headlines, and subject lines that capture attention immediately. Your skill lies in deeply understanding the emotions, desires, and challenges of a specific audience. Generate unusual, creative, and fascinating headlines that capture readers' attention about the product. Respond in Spanish and use a numbered list format. Important: Only answer with bullets, never include explanations or categories, like this: 'La leyenda del padre soltero: Dice que nunca hay tiempo suficiente. El yoga te enseña a usar mejor el tiempo que tienes, incluso cuando te parece imposible.'."
|
96 |
)
|
97 |
|
98 |
chat_session = model.start_chat(
|