JeCabrera commited on
Commit
8d57578
·
verified ·
1 Parent(s): 8966a2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def generate_headlines(number_of_headlines, target_audience, product, temperatur
16
  # Llama a la API de Claude para generar titulares
17
  message = client.messages.create(
18
  model="claude-3-5-sonnet-20240620",
19
- max_tokens=1000,
20
  temperature=temperature,
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.\n\nAnswer in Spanish.",
22
  messages=[
 
16
  # Llama a la API de Claude para generar titulares
17
  message = client.messages.create(
18
  model="claude-3-5-sonnet-20240620",
19
+ max_tokens=2500,
20
  temperature=temperature,
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.\n\nAnswer in Spanish.",
22
  messages=[