Update app.py
Browse files
app.py
CHANGED
|
@@ -314,7 +314,7 @@ def load_json_data():
|
|
| 314 |
"name": "[๊ฒ์] ์นด๋ ๊ธฐ์ต ๊ฒ์",
|
| 315 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
| 316 |
"prompt": "Create a classic memory matching card game with flip animations. Include a scoring system, timer, and difficulty levels. Add satisfying match/mismatch animations and sound effects using Web Audio API."
|
| 317 |
-
},
|
| 318 |
{
|
| 319 |
"name": "[์ธํฐ๋ํฐ๋ธ] ์ปฌ๋ฌ ํ๋ ํธ",
|
| 320 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
|
@@ -334,7 +334,7 @@ def load_json_data():
|
|
| 334 |
"name": "[3D] ์ฑ
์ฅ ๊ฐค๋ฌ๋ฆฌ",
|
| 335 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
| 336 |
"prompt": "CSS 3D ๋ณํ์ ์ฌ์ฉํ์ฌ ํ์ ํ๋ ์ฑ
์ฅ ํํ์ ๊ฐค๋ฌ๋ฆฌ๋ฅผ ๋ง๋์ธ์. ๊ฐ ์ฑ
์ ํด๋ฆญํ๋ฉด ์์ธ ์ ๋ณด๊ฐ ๋ํ๋๋๋ก ๊ตฌํํ์ธ์."
|
| 337 |
-
},
|
| 338 |
{
|
| 339 |
"name": "[๊ฒ์] ๋ฆฌ๋ฌ ๊ฒ์",
|
| 340 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
|
@@ -451,7 +451,7 @@ def load_trending_templates():
|
|
| 451 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
| 452 |
|
| 453 |
def load_new_templates():
|
| 454 |
-
json_data = load_json_data()[24:
|
| 455 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
| 456 |
|
| 457 |
def create_template_html(title, items):
|
|
|
|
| 314 |
"name": "[๊ฒ์] ์นด๋ ๊ธฐ์ต ๊ฒ์",
|
| 315 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
| 316 |
"prompt": "Create a classic memory matching card game with flip animations. Include a scoring system, timer, and difficulty levels. Add satisfying match/mismatch animations and sound effects using Web Audio API."
|
| 317 |
+
},
|
| 318 |
{
|
| 319 |
"name": "[์ธํฐ๋ํฐ๋ธ] ์ปฌ๋ฌ ํ๋ ํธ",
|
| 320 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
|
|
|
| 334 |
"name": "[3D] ์ฑ
์ฅ ๊ฐค๋ฌ๋ฆฌ",
|
| 335 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
| 336 |
"prompt": "CSS 3D ๋ณํ์ ์ฌ์ฉํ์ฌ ํ์ ํ๋ ์ฑ
์ฅ ํํ์ ๊ฐค๋ฌ๋ฆฌ๋ฅผ ๋ง๋์ธ์. ๊ฐ ์ฑ
์ ํด๋ฆญํ๋ฉด ์์ธ ์ ๋ณด๊ฐ ๋ํ๋๋๋ก ๊ตฌํํ์ธ์."
|
| 337 |
+
},
|
| 338 |
{
|
| 339 |
"name": "[๊ฒ์] ๋ฆฌ๋ฌ ๊ฒ์",
|
| 340 |
"image_url": "data:image/png;base64," + get_image_base64('cat.png'),
|
|
|
|
| 451 |
return create_template_html("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", json_data)
|
| 452 |
|
| 453 |
def load_new_templates():
|
| 454 |
+
json_data = load_json_data()[24:37] # NEW ํ
ํ๋ฆฟ
|
| 455 |
return create_template_html("โจ NEW ํ
ํ๋ฆฟ", json_data)
|
| 456 |
|
| 457 |
def create_template_html(title, items):
|