Update app.py
Browse files
app.py
CHANGED
@@ -495,7 +495,7 @@ def load_trending_templates():
|
|
495 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
496 |
|
497 |
def load_new_templates():
|
498 |
-
json_data = load_json_data()[24:
|
499 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
500 |
|
501 |
def create_template_html(title, items):
|
@@ -588,7 +588,7 @@ def load_session_history(template_type="best"):
|
|
588 |
templates = {
|
589 |
"best": json_data[:12], # ๋ฒ ์คํธ ํ
ํ๋ฆฟ
|
590 |
"trending": json_data[12:24], # ํธ๋ ๋ฉ ํ
ํ๋ฆฟ
|
591 |
-
"new": json_data[24:
|
592 |
}
|
593 |
|
594 |
titles = {
|
|
|
495 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
496 |
|
497 |
def load_new_templates():
|
498 |
+
json_data = load_json_data()[24:44] # NEW ํ
ํ๋ฆฟ
|
499 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
500 |
|
501 |
def create_template_html(title, items):
|
|
|
588 |
templates = {
|
589 |
"best": json_data[:12], # ๋ฒ ์คํธ ํ
ํ๋ฆฟ
|
590 |
"trending": json_data[12:24], # ํธ๋ ๋ฉ ํ
ํ๋ฆฟ
|
591 |
+
"new": json_data[24:44] # NEW ํ
ํ๋ฆฟ
|
592 |
}
|
593 |
|
594 |
titles = {
|