openfree commited on
Commit
8d2641c
·
verified ·
1 Parent(s): c29f64b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -996,9 +996,9 @@ with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
996
  """)
997
  # ── (1) 상단 메뉴 Bar (코드보기, 히스토리, 템플릿=단 하나) ──
998
  with antd.Flex(gap="small", elem_classes="setting-buttons", justify="end"):
999
- codeBtn = antd.Button("🧑‍💻 코드 보기", type="default")
1000
- historyBtn = antd.Button("📜 히스토리", type="default")
1001
- template_btn = antd.Button("🎮 템플릿", type="default")
1002
 
1003
  # ── (2) 입력창 ──
1004
  with antd.Flex(vertical=True, gap="middle", wrap=True, elem_classes="panel input-panel"):
@@ -1009,13 +1009,13 @@ with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
1009
  placeholder=random.choice(DEMO_LIST)['description'],
1010
  max_length=100000 # 입력 최대 길이 증가
1011
  )
1012
- gr.HTML('<div class="help-text">💡 원하는 게임의 설명을 입력하세요. 예: "Create a platformer game with jumping mechanics"</div>')
1013
 
1014
  # ── (3) 액션 버튼들 (Send, Boost, Code실행, 배포, 클리어) ──
1015
  with antd.Flex(gap="small", justify="space-between"):
1016
  btn = antd.Button("Send", type="primary", size="large")
1017
- boost_btn = antd.Button("Boost", type="default", size="large")
1018
- execute_btn = antd.Button("Code실행", type="default", size="large")
1019
  deploy_btn = antd.Button("배포", type="default", size="large")
1020
  clear_btn = antd.Button("클리어", type="default", size="large")
1021
 
 
996
  """)
997
  # ── (1) 상단 메뉴 Bar (코드보기, 히스토리, 템플릿=단 하나) ──
998
  with antd.Flex(gap="small", elem_classes="setting-buttons", justify="end"):
999
+ codeBtn = antd.Button("🧑‍💻코드 ", type="default")
1000
+ historyBtn = antd.Button("📜히스토리", type="default")
1001
+ template_btn = antd.Button("🎮템플릿", type="default")
1002
 
1003
  # ── (2) 입력창 ──
1004
  with antd.Flex(vertical=True, gap="middle", wrap=True, elem_classes="panel input-panel"):
 
1009
  placeholder=random.choice(DEMO_LIST)['description'],
1010
  max_length=100000 # 입력 최대 길이 증가
1011
  )
1012
+ gr.HTML('<div class="help-text">💡 원하는 게임의 설명을 입력하세요. 예: "테트리스 게임 제작해줘."</div>')
1013
 
1014
  # ── (3) 액션 버튼들 (Send, Boost, Code실행, 배포, 클리어) ──
1015
  with antd.Flex(gap="small", justify="space-between"):
1016
  btn = antd.Button("Send", type="primary", size="large")
1017
+ boost_btn = antd.Button("증강", type="default", size="large")
1018
+ execute_btn = antd.Button("코드", type="default", size="large")
1019
  deploy_btn = antd.Button("배포", type="default", size="large")
1020
  clear_btn = antd.Button("클리어", type="default", size="large")
1021