JeCabrera commited on
Commit
94eade6
·
verified ·
1 Parent(s): cd9865c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. Each history should have its own creative title.
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."