Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def get_gemini_response(input_prompt, formula_type, length, mood, target_audienc
|
|
51 |
- DO NOT explain or mention the formula parts in the text
|
52 |
- Separate each story with "---"
|
53 |
|
54 |
-
Format: Three clean story texts with natural paragraphs, separated by "---", no labels, no explanations.
|
55 |
"""
|
56 |
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
57 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|
|
|
51 |
- DO NOT explain or mention the formula parts in the text
|
52 |
- Separate each story with "---"
|
53 |
|
54 |
+
Format: Three clean story texts with natural paragraphs, separated by "---", no labels, no explanations.
|
55 |
"""
|
56 |
response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
|
57 |
return response.parts[0].text if response and response.parts else "Error al generar contenido."
|