JeCabrera commited on
Commit
ebf9ab4
·
verified ·
1 Parent(s): 11c767e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def get_gemini_response(input_prompt, genre, length, language, mood, target_audi
16
 
17
  model = genai.GenerativeModel('gemini-2.0-flash')
18
  full_prompt = f"""
19
- You are a professional storyteller. Write a {mood} {genre} in {language} using a natural, engaging, and conversational style.
20
- The story should be about "{input_prompt}" and use exactly {length} words.
21
 
22
  Target Audience: {target_audience}
23
  CTA Type: {cta_type}
@@ -35,6 +35,14 @@ def get_gemini_response(input_prompt, genre, length, language, mood, target_audi
35
  - For PDF guide: Highlight how the guide provides the knowledge they need
36
  - For webinar: Emphasize how the live training will help them succeed
37
 
 
 
 
 
 
 
 
 
38
  Make the CTA feel natural and focus on the transformation they'll experience.
39
 
40
  ### **Ejemplo de historia bien escrita:**
 
16
 
17
  model = genai.GenerativeModel('gemini-2.0-flash')
18
  full_prompt = f"""
19
+ You are a professional storyteller. Write a {mood} {genre} in {language} about "{input_prompt}" using everyday words and natural conversation.
20
+ Use exactly {length} words.
21
 
22
  Target Audience: {target_audience}
23
  CTA Type: {cta_type}
 
35
  - For PDF guide: Highlight how the guide provides the knowledge they need
36
  - For webinar: Emphasize how the live training will help them succeed
37
 
38
+ Keep in mind:
39
+ - Write for {target_audience}
40
+ - Use simple, clear language that everyone can understand
41
+ - Avoid technical terms or complex words
42
+ - Tell the story in short paragraphs
43
+ - End with a natural {cta_type} invitation
44
+
45
+ Example format:
46
  Make the CTA feel natural and focus on the transformation they'll experience.
47
 
48
  ### **Ejemplo de historia bien escrita:**