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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -199,7 +199,9 @@ class SmartShoppingAssistant:
199
  try:
200
  response = model.generate_content([prompt,text])
201
  return response.text
202
-
 
 
203
 
204
 
205
  except Exception as e:
 
199
  try:
200
  response = model.generate_content([prompt,text])
201
  return response.text
202
+
203
+ except Exception as e:
204
+ return f"Error processing text from pdf: {str(e)}"
205
 
206
 
207
  except Exception as e: