Spaces:
Sleeping
Sleeping
Update bullets/generator.py
Browse files- bullets/generator.py +2 -2
bullets/generator.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
-
def create_bullet_instruction(
|
| 4 |
"""
|
| 5 |
Creates the instruction for generating benefit bullets.
|
| 6 |
The model will randomly choose between different bullet formulas.
|
|
@@ -440,7 +440,7 @@ def get_random_bullet_formula():
|
|
| 440 |
return selected_formula
|
| 441 |
|
| 442 |
|
| 443 |
-
def create_bullet_instruction_with_formula(
|
| 444 |
"""
|
| 445 |
Creates the instruction for generating benefit bullets with a specific
|
| 446 |
randomly selected formula to ensure consistency.
|
|
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
+
def create_bullet_instruction(product_name=None, uploaded_content=None, target_audience=None, skills=None):
|
| 4 |
"""
|
| 5 |
Creates the instruction for generating benefit bullets.
|
| 6 |
The model will randomly choose between different bullet formulas.
|
|
|
|
| 440 |
return selected_formula
|
| 441 |
|
| 442 |
|
| 443 |
+
def create_bullet_instruction_with_formula(target_audience=None, product_name=None, uploaded_content=None, skills=None):
|
| 444 |
"""
|
| 445 |
Creates the instruction for generating benefit bullets with a specific
|
| 446 |
randomly selected formula to ensure consistency.
|