seawolf2357 commited on
Commit
49957f7
ยท
verified ยท
1 Parent(s): e5edb92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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:36] # NEW ํ…œํ”Œ๋ฆฟ
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):