Spaces:
Sleeping
Sleeping
Update bullets/generator.py
Browse files- bullets/generator.py +2 -1
bullets/generator.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
-
def create_bullet_instruction(avatar_description=None, product_name=None, uploaded_content=None):
|
| 4 |
"""
|
| 5 |
Creates the instruction for generating benefit bullets.
|
| 6 |
The model will randomly choose between different bullet formulas.
|
|
@@ -9,6 +9,7 @@ def create_bullet_instruction(avatar_description=None, product_name=None, upload
|
|
| 9 |
avatar_description: Description of the target audience
|
| 10 |
product_name: Name of the product or service
|
| 11 |
uploaded_content: Content from uploaded files (if any)
|
|
|
|
| 12 |
|
| 13 |
Returns:
|
| 14 |
str: The complete instruction for generating bullets
|
|
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
+
def create_bullet_instruction(avatar_description=None, product_name=None, uploaded_content=None, target_audience=None):
|
| 4 |
"""
|
| 5 |
Creates the instruction for generating benefit bullets.
|
| 6 |
The model will randomly choose between different bullet formulas.
|
|
|
|
| 9 |
avatar_description: Description of the target audience
|
| 10 |
product_name: Name of the product or service
|
| 11 |
uploaded_content: Content from uploaded files (if any)
|
| 12 |
+
target_audience: Specific target audience for the bullets
|
| 13 |
|
| 14 |
Returns:
|
| 15 |
str: The complete instruction for generating bullets
|