Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,15 @@ def get_gemini_response(input_prompt, formula_type, length, mood, target_audienc
|
|
34 |
- Tell the story in short paragraphs
|
35 |
- End with a natural {cta_type} invitation
|
36 |
|
37 |
-
|
38 |
-
-
|
39 |
-
-
|
40 |
-
-
|
|
|
|
|
|
|
|
|
|
|
41 |
"""
|
42 |
response = model.generate_content([full_prompt])
|
43 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|
|
|
34 |
- Tell the story in short paragraphs
|
35 |
- End with a natural {cta_type} invitation
|
36 |
|
37 |
+
CRITICAL INSTRUCTIONS:
|
38 |
+
- Output ONLY the story text
|
39 |
+
- DO NOT include any labels like (Problem), (Solution), etc.
|
40 |
+
- DO NOT include any structural markers or formula explanations
|
41 |
+
- Write as a continuous narrative with natural paragraph breaks
|
42 |
+
- The story should flow naturally between sections without any visible structure markers
|
43 |
+
- DO NOT explain or mention the formula parts in the text
|
44 |
+
|
45 |
+
Format: Clean story text with natural paragraphs, no labels, no explanations.
|
46 |
"""
|
47 |
response = model.generate_content([full_prompt])
|
48 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|