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