acecalisto3 commited on
Commit
81a61e7
·
verified ·
1 Parent(s): 9bc81c3

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +4 -4
app2.py CHANGED
@@ -346,10 +346,10 @@ def generate_qr_code(data: Union[str, Dict], combined: bool = True) -> List[str]
346
  img.save(str(output_path))
347
  return [str(output_path)]
348
 
349
- return []
350
- except Exception as e:
351
- logger.error(f"QR generation error: {e}")
352
- return []
353
 
354
  def decode_qr_code(image_path: str) -> str:
355
  """Decode QR code from an image file"""
 
346
  img.save(str(output_path))
347
  return [str(output_path)]
348
 
349
+ return []
350
+ except Exception as e:
351
+ logger.error(f"QR generation error: {e}")
352
+ return []
353
 
354
  def decode_qr_code(image_path: str) -> str:
355
  """Decode QR code from an image file"""