acecalisto3 commited on
Commit
c28151b
·
verified ·
1 Parent(s): 386db61

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +3 -0
app2.py CHANGED
@@ -1009,6 +1009,9 @@ def generate_qr_codes(data: List[Dict], combined: bool = True) -> List[str]:
1009
 
1010
  logger.info(f"Generated {len(paths)} QR codes.")
1011
  return paths
 
 
 
1012
 
1013
  # --- Chatbot Logic ---
1014
  def respond_to_chat(
 
1009
 
1010
  logger.info(f"Generated {len(paths)} QR codes.")
1011
  return paths
1012
+ except Exception as e:
1013
+ logger.error(f"Error generating QR codes: {e}")
1014
+ return []
1015
 
1016
  # --- Chatbot Logic ---
1017
  def respond_to_chat(