Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,8 +50,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 |
-
temperature=0.2,
|
| 55 |
)
|
| 56 |
|
| 57 |
template_output = response["choices"][0]["message"]["content"].strip()
|
|
|
|
| 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=1024
|
|
|
|
| 54 |
)
|
| 55 |
|
| 56 |
template_output = response["choices"][0]["message"]["content"].strip()
|