JeCabrera commited on
Commit
5d79c0e
·
verified ·
1 Parent(s): 64bf028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -15
app.py CHANGED
@@ -29,7 +29,7 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
29
 
30
  {formula["description"]}
31
 
32
- First, analyze and provide:
33
  1. TARGET AUDIENCE ANALYSIS - Pain Points:
34
  - What specific frustrations does this audience experience?
35
  - What are their biggest daily challenges?
@@ -44,7 +44,7 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
44
  - What competitive advantages does it have?
45
  - What emotional benefits does it provide?
46
 
47
- Then, create THREE different UVPs following the formula structure provided above.
48
 
49
  CRITICAL INSTRUCTIONS:
50
  - Each UVP must be specific and measurable
@@ -52,17 +52,11 @@ def get_gemini_response(product_service, target_audience, formula_type, temperat
52
  - Use natural, conversational language
53
  - Avoid generic phrases and buzzwords
54
  - Maximum 2 lines per UVP
55
- - Separate sections with "---"
56
-
57
- Format your response as:
58
- TARGET AUDIENCE ANALYSIS (Pain Points)
59
- [Detailed target audience analysis]
60
- ---
61
- PRODUCT/SERVICE ANALYSIS (Benefits)
62
- [Detailed product/service benefits]
63
- ---
64
- VALUE PROPOSITIONS:
65
- [Three UVPs]
66
  """
67
 
68
  response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
@@ -118,6 +112,5 @@ with col2:
118
  formula_type,
119
  temperature
120
  )
121
- # Mostrar la respuesta completa del modelo
122
- st.write("### Análisis Completo")
123
  st.write(response)
 
29
 
30
  {formula["description"]}
31
 
32
+ First, analyze (but don't output) these points:
33
  1. TARGET AUDIENCE ANALYSIS - Pain Points:
34
  - What specific frustrations does this audience experience?
35
  - What are their biggest daily challenges?
 
44
  - What competitive advantages does it have?
45
  - What emotional benefits does it provide?
46
 
47
+ Based on the above analysis (which should remain internal), create THREE different UVPs following the formula structure provided.
48
 
49
  CRITICAL INSTRUCTIONS:
50
  - Each UVP must be specific and measurable
 
52
  - Use natural, conversational language
53
  - Avoid generic phrases and buzzwords
54
  - Maximum 2 lines per UVP
55
+
56
+ Output format:
57
+ 1. [First UVP]
58
+ 2. [Second UVP]
59
+ 3. [Third UVP]
 
 
 
 
 
 
60
  """
61
 
62
  response = model.generate_content([full_prompt], generation_config={"temperature": temperature})
 
112
  formula_type,
113
  temperature
114
  )
115
+ st.write("### Propuestas Únicas de Valor")
 
116
  st.write(response)