Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from huggingface_hub.utils import RepositoryNotFoundError
|
|
| 10 |
from werkzeug.utils import secure_filename
|
| 11 |
|
| 12 |
app = Flask(__name__)
|
| 13 |
-
DATA_FILE = '
|
| 14 |
|
| 15 |
# Настройки Hugging Face
|
| 16 |
REPO_ID = "flpolprojects/Clients"
|
|
@@ -622,7 +622,7 @@ def catalog():
|
|
| 622 |
orderText += `${index + 1}. ${item.name} - ${item.price} с × ${item.quantity}%0A`;
|
| 623 |
});
|
| 624 |
orderText += `Итого: ${total} с`;
|
| 625 |
-
window.open(`https://api.whatsapp.com/send?phone=
|
| 626 |
}
|
| 627 |
|
| 628 |
function clearCart() {
|
|
|
|
| 10 |
from werkzeug.utils import secure_filename
|
| 11 |
|
| 12 |
app = Flask(__name__)
|
| 13 |
+
DATA_FILE = 'data.json'
|
| 14 |
|
| 15 |
# Настройки Hugging Face
|
| 16 |
REPO_ID = "flpolprojects/Clients"
|
|
|
|
| 622 |
orderText += `${index + 1}. ${item.name} - ${item.price} с × ${item.quantity}%0A`;
|
| 623 |
});
|
| 624 |
orderText += `Итого: ${total} с`;
|
| 625 |
+
window.open(`https://api.whatsapp.com/send?phone=996709513331&text=${orderText}`, '_blank');
|
| 626 |
}
|
| 627 |
|
| 628 |
function clearCart() {
|