Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,10 @@ Step 4:
|
|
| 36 |
{{% for top 5 features of the product %}}
|
| 37 |
{{{{ feature_bullet | aspirational, humorous. A title for the feature, followed by a single sentence about the feature}}}}
|
| 38 |
{{% end %}}
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
| 40 |
**Reference Copy:**
|
| 41 |
{combined_references}
|
| 42 |
|
|
@@ -50,7 +53,7 @@ Generate the final structured template that adheres to these guidelines.
|
|
| 50 |
{"role": "system", "content": "You are a helpful assistant that generates structured e-commerce copywriting templates."},
|
| 51 |
{"role": "user", "content": prompt}
|
| 52 |
],
|
| 53 |
-
max_completion_tokens=
|
| 54 |
)
|
| 55 |
|
| 56 |
template_output = response["choices"][0]["message"]["content"].strip()
|
|
|
|
| 36 |
{{% for top 5 features of the product %}}
|
| 37 |
{{{{ feature_bullet | aspirational, humorous. A title for the feature, followed by a single sentence about the feature}}}}
|
| 38 |
{{% end %}}
|
| 39 |
+
|
| 40 |
+
Step 5:
|
| 41 |
+
Return only the template... no explations or anything...
|
| 42 |
+
|
| 43 |
**Reference Copy:**
|
| 44 |
{combined_references}
|
| 45 |
|
|
|
|
| 53 |
{"role": "system", "content": "You are a helpful assistant that generates structured e-commerce copywriting templates."},
|
| 54 |
{"role": "user", "content": prompt}
|
| 55 |
],
|
| 56 |
+
max_completion_tokens=4096
|
| 57 |
)
|
| 58 |
|
| 59 |
template_output = response["choices"][0]["message"]["content"].strip()
|