parthmax commited on
Commit
8d84ce9
·
1 Parent(s): 27be274

added changes to app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ class QRCodeManager:
92
  @staticmethod
93
  def generate_qr_image(qr_id: str) -> io.BytesIO:
94
  """Generate QR code image"""
95
- base_url = os.getenv("BASE_URL", "https://your-app.hf.space")
96
  qr_url = f"{base_url}/r/{qr_id}"
97
 
98
  qr = qrcode.QRCode(
 
92
  @staticmethod
93
  def generate_qr_image(qr_id: str) -> io.BytesIO:
94
  """Generate QR code image"""
95
+ base_url = os.getenv("BASE_URL", "https://huggingface.co/spaces/parthmax/dynamic-qr")
96
  qr_url = f"{base_url}/r/{qr_id}"
97
 
98
  qr = qrcode.QRCode(