Update app.py
Browse files
app.py
CHANGED
@@ -421,7 +421,11 @@ def load_json_data():
|
|
421 |
"image_url": "data:image/png;base64," + get_image_base64('124.png'),
|
422 |
"prompt": "D3.js๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ๋ณํ๋ฅผ ์ ๋๋ฉ์ด์
์ผ๋ก ๋ณด์ฌ์ฃผ๋ ์ฐจํธ๋ฅผ ๋ง๋์ธ์. ๋ค์ํ ์ ํ ํจ๊ณผ๋ฅผ ์ถ๊ฐํ์ธ์."
|
423 |
},
|
424 |
-
|
|
|
|
|
|
|
|
|
425 |
|
426 |
{
|
427 |
"name": "[์ปดํฌ๋ํธ] ๊ฒ์ํ",
|
@@ -483,7 +487,7 @@ def load_trending_templates():
|
|
483 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
484 |
|
485 |
def load_new_templates():
|
486 |
-
json_data = load_json_data()[24:
|
487 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
488 |
|
489 |
def create_template_html(title, items):
|
|
|
421 |
"image_url": "data:image/png;base64," + get_image_base64('124.png'),
|
422 |
"prompt": "D3.js๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ๋ณํ๋ฅผ ์ ๋๋ฉ์ด์
์ผ๋ก ๋ณด์ฌ์ฃผ๋ ์ฐจํธ๋ฅผ ๋ง๋์ธ์. ๋ค์ํ ์ ํ ํจ๊ณผ๋ฅผ ์ถ๊ฐํ์ธ์."
|
423 |
},
|
424 |
+
{
|
425 |
+
"name": "[๋๊ตฌ] ์ ํ๋ธ ์์ ์ฌ์/๋ถ์/์์ฝ",
|
426 |
+
"image_url": "data:image/png;base64," + get_image_base64('yout.png'),
|
427 |
+
"prompt": "์ ํ๋ธ url์ ์
๋ ฅํ๋ฉด ์์์ด ์ถ๋ ฅ๋๋ผ. ํด๋น ์์์ ๋ํ ์ถ๊ฐ์ ์ธ ๋ถ์์ด๋ ์์ฝ๋ ํ์ํ๋ค"
|
428 |
+
},
|
429 |
|
430 |
{
|
431 |
"name": "[์ปดํฌ๋ํธ] ๊ฒ์ํ",
|
|
|
487 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
488 |
|
489 |
def load_new_templates():
|
490 |
+
json_data = load_json_data()[24:42] # NEW ํ
ํ๋ฆฟ
|
491 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
492 |
|
493 |
def create_template_html(title, items):
|