seawolf2357 commited on
Commit
cc452e6
ยท
verified ยท
1 Parent(s): 1a14d06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -213,6 +213,19 @@ with gr.Blocks(css_paths="app.css") as demo:
213
  outputs=[input]
214
  )
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
 
217
  # Drawer ์ปดํฌ๋„ŒํŠธ๋“ค
218
  with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
 
213
  outputs=[input]
214
  )
215
 
216
+ # ๋‘ ๋ฒˆ์งธ ์˜ˆ์ œ ๋ฒ„ํŠผ
217
+ example_btn4 = antd.Button(
218
+ "[๊ฒŒ์ž„] ํ…ŒํŠธ๋ฆฌ์Šค",
219
+ type="default",
220
+ block=True,
221
+ size="large"
222
+ )
223
+ example_btn4.click(
224
+ fn=lambda: "Classic Tetris Game: Start/ Restart ๋ฒ„ํŠผ, Game Over(๋ง‰๋Œ€๊ฐ€ ๊ฐ€์žฅ ์ƒ๋‹จ๊นŒ์ง€ ๋ˆ„์ ํ•ด์„œ ์Œ“์˜€์„๋•Œ), ๋ง‰๋Œ€๊ฐ€ ํ•œ์ค„ ๊ฐ€๋“ ์ฑ„์› ์„๋•Œ ํ•œ์ค„์ด ์‚ญ์ œ, ๋‚˜๋จธ์ง€๋Š” Tetris ๊ธฐ๋ณธ ๊ทœ์น™์„ ๋”ฐ๋ฆ„๋ฆ„",
225
+ inputs=[],
226
+ outputs=[input]
227
+ )
228
+
229
 
230
  # Drawer ์ปดํฌ๋„ŒํŠธ๋“ค
231
  with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer: