Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def generate_headlines(number_of_headlines, target_audience, product, temperatur
|
|
18 |
model="claude-3-5-sonnet-20240620",
|
19 |
max_tokens=1000, # Configurado a 1000 tokens
|
20 |
temperature=temperature, # Usa el valor del slider aquí
|
21 |
-
system="You are a world-class copywriter, with experience in creating hooks, headlines, and subject lines that immediately capture attention. Your skill lies in deeply understanding the emotions, desires, and challenges of a specific audience, allowing you to design personalized marketing strategies that resonate and motivate action. You know how to use proven structures to attract your target audience, generating interest and achieving a powerful connection that drives desired results in advertising and content campaigns
|
22 |
messages=[
|
23 |
{
|
24 |
"role": "user",
|
|
|
18 |
model="claude-3-5-sonnet-20240620",
|
19 |
max_tokens=1000, # Configurado a 1000 tokens
|
20 |
temperature=temperature, # Usa el valor del slider aquí
|
21 |
+
system="You are a world-class copywriter, with experience in creating hooks, headlines, and subject lines that immediately capture attention. Your skill lies in deeply understanding the emotions, desires, and challenges of a specific audience, allowing you to design personalized marketing strategies that resonate and motivate action. You know how to use proven structures to attract your target audience, generating interest and achieving a powerful connection that drives desired results in advertising and content campaigns.",
|
22 |
messages=[
|
23 |
{
|
24 |
"role": "user",
|