Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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])
|