Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,8 @@ def getProductDetails(history, image):
|
|
52 |
system_prompt="You're a helpful e-commerce marketing assitant working on art products."
|
53 |
prompt="Our product description is as follows: " + product_description + ". Please write a product title options for it."
|
54 |
yield interactWithModel(history, system_prompt, prompt)
|
|
|
|
|
55 |
|
56 |
|
57 |
def interactWithModel(history, system_prompt, prompt):
|
|
|
52 |
system_prompt="You're a helpful e-commerce marketing assitant working on art products."
|
53 |
prompt="Our product description is as follows: " + product_description + ". Please write a product title options for it."
|
54 |
yield interactWithModel(history, system_prompt, prompt)
|
55 |
+
prompt2="Please also write an SEO friendly description for it describing its value to its users."
|
56 |
+
yield interactWithModel(history, system_prompt, prompt2)
|
57 |
|
58 |
|
59 |
def interactWithModel(history, system_prompt, prompt):
|