Spaces:
Paused
Paused
add Llama3-70b
Browse files
app.py
CHANGED
|
@@ -135,6 +135,7 @@ def generate(features, image, structure, reference, model, temperature):
|
|
| 135 |
messages = [HumanMessage(content=f"""Write a product description of about 200 words for a product with the following key properties.
|
| 136 |
Make sure that the description follows the structure of the reference structure below.
|
| 137 |
Make sure to use markdown format for the output.
|
|
|
|
| 138 |
Use creative language that is suitable for e-commerce websites. Use a consistent tone of voice throughout the text.
|
| 139 |
If the reference text is not empty, produce the product description in the tone of voice and structure of the reference text.
|
| 140 |
\n\n {features + detected_features} \n{intended_use} \nReference structure: {structure}\n Reference text: {reference}""")]
|
|
|
|
| 135 |
messages = [HumanMessage(content=f"""Write a product description of about 200 words for a product with the following key properties.
|
| 136 |
Make sure that the description follows the structure of the reference structure below.
|
| 137 |
Make sure to use markdown format for the output.
|
| 138 |
+
Output the product description only.
|
| 139 |
Use creative language that is suitable for e-commerce websites. Use a consistent tone of voice throughout the text.
|
| 140 |
If the reference text is not empty, produce the product description in the tone of voice and structure of the reference text.
|
| 141 |
\n\n {features + detected_features} \n{intended_use} \nReference structure: {structure}\n Reference text: {reference}""")]
|