Update app.py
Browse files
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:
|