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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -174,7 +174,7 @@ class SmartShoppingAssistant:
174
  prompt = """
175
  Analyze this image and extract products and their quantities.
176
  If quantities aren't specified, assume 1.
177
- List each item with its quantity
178
  """
179
  try:
180
  response = model.generate_content([prompt, image])
@@ -249,6 +249,7 @@ def generate_receipt():
249
  def main():
250
  st.set_page_config(page_title="Smart Shopping Assistant", layout="wide")
251
  st.title("🛒 Smart Shopping Assistant")
 
252
 
253
  @st.cache_data
254
  def load_product_data():
 
174
  prompt = """
175
  Analyze this image and extract products and their quantities.
176
  If quantities aren't specified, assume 1.
177
+ List each item starting with its quantity and then name of item and nothing else
178
  """
179
  try:
180
  response = model.generate_content([prompt, image])
 
249
  def main():
250
  st.set_page_config(page_title="Smart Shopping Assistant", layout="wide")
251
  st.title("🛒 Smart Shopping Assistant")
252
+ st.write("Powered by Brave Retail Insights")
253
 
254
  @st.cache_data
255
  def load_product_data():