Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ USERS_FILE = 'users_soola.json'
|
|
| 23 |
|
| 24 |
SYNC_FILES = [DATA_FILE, USERS_FILE]
|
| 25 |
|
| 26 |
-
REPO_ID = "Kgshop/
|
| 27 |
HF_TOKEN_WRITE = os.getenv("HF_TOKEN")
|
| 28 |
HF_TOKEN_READ = os.getenv("HF_TOKEN_READ")
|
| 29 |
|
|
@@ -277,7 +277,7 @@ CATALOG_TEMPLATE = '''
|
|
| 277 |
<head>
|
| 278 |
<meta charset="UTF-8">
|
| 279 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 280 |
-
<title>
|
| 281 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 282 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
|
| 283 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.2.0/swiper-bundle.min.css">
|
|
@@ -381,7 +381,7 @@ CATALOG_TEMPLATE = '''
|
|
| 381 |
<body>
|
| 382 |
<div class="container">
|
| 383 |
<div class="header">
|
| 384 |
-
<h1>
|
| 385 |
<div class="auth-links">
|
| 386 |
{% if is_authenticated %}
|
| 387 |
<span>Привет, {{ session.get('user_info', {}).get('first_name', session['user']) }}!</span>
|
|
|
|
| 23 |
|
| 24 |
SYNC_FILES = [DATA_FILE, USERS_FILE]
|
| 25 |
|
| 26 |
+
REPO_ID = "Kgshop/medimaturkey" # Replace with your actual repo ID if different
|
| 27 |
HF_TOKEN_WRITE = os.getenv("HF_TOKEN")
|
| 28 |
HF_TOKEN_READ = os.getenv("HF_TOKEN_READ")
|
| 29 |
|
|
|
|
| 277 |
<head>
|
| 278 |
<meta charset="UTF-8">
|
| 279 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 280 |
+
<title>MedinaTurkey.kz - Каталог</title>
|
| 281 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 282 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
|
| 283 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.2.0/swiper-bundle.min.css">
|
|
|
|
| 381 |
<body>
|
| 382 |
<div class="container">
|
| 383 |
<div class="header">
|
| 384 |
+
<h1>MedinaTurkey.kz</h1>
|
| 385 |
<div class="auth-links">
|
| 386 |
{% if is_authenticated %}
|
| 387 |
<span>Привет, {{ session.get('user_info', {}).get('first_name', session['user']) }}!</span>
|