Spaces:
Sleeping
Sleeping
added changes to app.py
Browse files
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://
|
| 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(
|