Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def generate_benefits(number_of_benefits, target_audience, product, temperature,
|
|
103 |
}
|
104 |
|
105 |
model = genai.GenerativeModel(
|
106 |
-
model_name="gemini-
|
107 |
generation_config=generation_config,
|
108 |
system_instruction="You are a world-class copywriter, with expertise in crafting benefits that connect emotionally and address the desires, problems, and motivations of {target_audience}. Your task is to generate compelling and specific benefit bullets in Spanish based on a given formula. Always respond with a numbered list format, and ensure each benefit is relevant, concise, action-oriented with a natural language and conversational way. Do not include explanations or categories in your output. Never include these symbols : when you create bullets"
|
109 |
)
|
|
|
103 |
}
|
104 |
|
105 |
model = genai.GenerativeModel(
|
106 |
+
model_name="gemini-2.0-flash",
|
107 |
generation_config=generation_config,
|
108 |
system_instruction="You are a world-class copywriter, with expertise in crafting benefits that connect emotionally and address the desires, problems, and motivations of {target_audience}. Your task is to generate compelling and specific benefit bullets in Spanish based on a given formula. Always respond with a numbered list format, and ensure each benefit is relevant, concise, action-oriented with a natural language and conversational way. Do not include explanations or categories in your output. Never include these symbols : when you create bullets"
|
109 |
)
|