Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ HF_TOKEN_WRITE = os.getenv("HF_TOKEN")
|
|
| 18 |
HF_TOKEN_READ = os.getenv("HF_TOKEN_READ")
|
| 19 |
|
| 20 |
# Ссылка на логотип
|
| 21 |
-
LOGO_URL = "https://cdn-avatars.huggingface.co/v1/production/uploads/67b22aaeae9b6a59f1cfb849/
|
| 22 |
|
| 23 |
# Настройка логирования
|
| 24 |
logging.basicConfig(level=logging.DEBUG)
|
|
@@ -644,7 +644,7 @@ def catalog():
|
|
| 644 |
orderText += `${index + 1}. ${item.name} - ${item.price} с × ${item.quantity}%0A`;
|
| 645 |
});
|
| 646 |
orderText += `Итого: ${total} с`;
|
| 647 |
-
window.open(`https://api.whatsapp.com/send?phone=
|
| 648 |
}
|
| 649 |
|
| 650 |
function clearCart() {
|
|
|
|
| 18 |
HF_TOKEN_READ = os.getenv("HF_TOKEN_READ")
|
| 19 |
|
| 20 |
# Ссылка на логотип
|
| 21 |
+
LOGO_URL = "https://cdn-avatars.huggingface.co/v1/production/uploads/67b22aaeae9b6a59f1cfb849/NQvBksXzJItYt6hfFjyaB.jpeg"
|
| 22 |
|
| 23 |
# Настройка логирования
|
| 24 |
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
| 644 |
orderText += `${index + 1}. ${item.name} - ${item.price} с × ${item.quantity}%0A`;
|
| 645 |
});
|
| 646 |
orderText += `Итого: ${total} с`;
|
| 647 |
+
window.open(`https://api.whatsapp.com/send?phone=996772179559&text=${orderText}`, '_blank');
|
| 648 |
}
|
| 649 |
|
| 650 |
function clearCart() {
|