prateekbh commited on
Commit
436c517
·
verified ·
1 Parent(s): db8a302

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):