Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,11 @@ def get_gemini_response(input_prompt, formula_type, length, mood, target_audienc
|
|
33 |
- Use simple, clear language
|
34 |
- Tell the story in short paragraphs
|
35 |
- End with a natural {cta_type} invitation
|
|
|
|
|
|
|
|
|
|
|
36 |
"""
|
37 |
response = model.generate_content([full_prompt])
|
38 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|
|
|
33 |
- Use simple, clear language
|
34 |
- Tell the story in short paragraphs
|
35 |
- End with a natural {cta_type} invitation
|
36 |
+
|
37 |
+
IMPORTANT:
|
38 |
+
- Do not include any formula labels or section markers in the output
|
39 |
+
- Write the story as a continuous narrative without structural tags
|
40 |
+
- Do not explain the formula parts, just apply them naturally
|
41 |
"""
|
42 |
response = model.generate_content([full_prompt])
|
43 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|