nniehaus commited on
Commit
9d8abed
·
verified ·
1 Parent(s): 3989615

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -13
app.py CHANGED
@@ -55,23 +55,28 @@ def customize_script_for_location(original_script, location, research_info):
55
 
56
  Your task is to customize this script to be specific and relevant to {location}. Guidelines:
57
 
58
- 1. **Natural Integration**: Work the location name and local references into the script naturally
59
- 2. **Local Context**: Use the research information to add authentic local details, businesses, landmarks, or practices
60
- 3. **Audience Adaptation**: Adjust language and examples to resonate with local audiences
61
- 4. **Maintain Flow**: Keep the original structure and message while making it location-specific
62
- 5. **Authenticity**: Make it feel like it was written specifically for this location
 
 
 
 
 
 
 
63
 
64
  If the script topic isn't naturally location-based:
65
- - Find creative ways to incorporate the location name
66
- - Add local examples or references where appropriate
67
- - Mention local landmarks, businesses, or cultural elements when relevant
68
- - Adapt any universal examples to local equivalents
69
 
70
  If the script IS location-based (real estate, local services, etc.):
71
- - Replace generic references with specific local ones
72
- - Include actual local businesses, areas, or services where appropriate
73
- - Adapt content to reflect local market conditions, regulations, or practices
74
- - Use local terminology and references
75
 
76
  Return only the customized script, maintaining the same format and structure as the original.
77
  """
 
55
 
56
  Your task is to customize this script to be specific and relevant to {location}. Guidelines:
57
 
58
+ 1. **Subtle Integration**: Use the location name SPARINGLY (1-3 times maximum) and only where it feels natural
59
+ 2. **Strategic Local Context**: Add 1-2 authentic local details that enhance the message without overwhelming it
60
+ 3. **Maintain Original Flow**: Keep the exact same structure, length, and tone of the original script
61
+ 4. **Quality Over Quantity**: Better to make fewer, higher-impact local references than to force many
62
+ 5. **Natural Feel**: The script should feel like the original with just enough local flavor to be relevant
63
+
64
+ SPECIFIC RULES:
65
+ - Use the location name maximum 2-3 times in the entire script
66
+ - Add only 1-2 specific local references (businesses, landmarks, regulations, or practices)
67
+ - Keep the same conversational tone and length as the original
68
+ - Don't add unnecessary local adjectives or descriptors
69
+ - Focus on enhancing key points rather than adding location references everywhere
70
 
71
  If the script topic isn't naturally location-based:
72
+ - Add the location name once in the opening or closing
73
+ - Include ONE relevant local reference if it naturally fits
74
+ - Don't force location into every sentence
 
75
 
76
  If the script IS location-based (real estate, local services, etc.):
77
+ - Replace 1-2 generic references with specific local ones
78
+ - Mention local market conditions or regulations only if directly relevant
79
+ - Use local area names sparingly and only where they add real value
 
80
 
81
  Return only the customized script, maintaining the same format and structure as the original.
82
  """