rairo commited on
Commit
a69d6fe
·
verified ·
1 Parent(s): fcc9d25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -194,7 +194,7 @@ class SmartShoppingAssistant:
194
  prompt = """
195
  extract products and their quantities from this text.
196
  If quantities aren't specified, assume 1.
197
- List each item with its quantity and nothing else
198
  """
199
  try:
200
  response = model.generate_content([prompt,text])
 
194
  prompt = """
195
  extract products and their quantities from this text.
196
  If quantities aren't specified, assume 1.
197
+ List each item starting with its quantity and then name of item and nothing else
198
  """
199
  try:
200
  response = model.generate_content([prompt,text])