Spaces:
Paused
Paused
add number of versions slider
Browse files
app.py
CHANGED
|
@@ -325,7 +325,6 @@ def generate(*data):
|
|
| 325 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 326 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 327 |
Write in a way that target the customer.
|
| 328 |
-
Use feedbacks from the previous versions to improve the quality of the next versions.
|
| 329 |
Make sure that the structure of each output follows the reference structure.
|
| 330 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 331 |
Use markdown format for each output.
|
|
@@ -381,7 +380,6 @@ Excluded words: {excluded_words}"""),]
|
|
| 381 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 382 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 383 |
Write in a way that target the customer.
|
| 384 |
-
Use feedbacks from the previous versions to improve the quality of the next versions.
|
| 385 |
Make sure that the structure of each output follows the structure of the reference copy.
|
| 386 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 387 |
Use markdown format for each output.
|
|
@@ -438,7 +436,6 @@ Excluded words: {excluded_words}"""),]
|
|
| 438 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 439 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 440 |
Write in a way that target the customer.
|
| 441 |
-
Use feedbacks from the previous versions to improve the quality of the next versions.
|
| 442 |
Make sure that the structure of each output follows the reference structure.
|
| 443 |
Use markdown format for each output.
|
| 444 |
Do not include any part of the reference structure in the output.
|
|
|
|
| 325 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 326 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 327 |
Write in a way that target the customer.
|
|
|
|
| 328 |
Make sure that the structure of each output follows the reference structure.
|
| 329 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 330 |
Use markdown format for each output.
|
|
|
|
| 380 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 381 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 382 |
Write in a way that target the customer.
|
|
|
|
| 383 |
Make sure that the structure of each output follows the structure of the reference copy.
|
| 384 |
Make sure to use the tone of voice, rythm, cadence and style of the reference copy for each output.
|
| 385 |
Use markdown format for each output.
|
|
|
|
| 436 |
SystemMessage(content=f"""You are a helpful assistant that writes about products for ecommerce websites. Make sure to write in {languages[i]} language."""),
|
| 437 |
HumanMessage(content=f"""Generate {nversions} versions of the product description for a product with the following information.
|
| 438 |
Write in a way that target the customer.
|
|
|
|
| 439 |
Make sure that the structure of each output follows the reference structure.
|
| 440 |
Use markdown format for each output.
|
| 441 |
Do not include any part of the reference structure in the output.
|