flpolprojects commited on
Commit
6111d60
·
verified ·
1 Parent(s): ccaad3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 'products_morshen.json'
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=996500398754&text=${orderText}`, '_blank');
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() {