Update app.py
Browse files
app.py
CHANGED
@@ -271,7 +271,20 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
271 |
fn=lambda: "ํ
์คํธ๋ฅผ ์์ฑ์ผ๋ก ๋ณํํ๊ณ , ์์ฑ ํ๋ผ๋ฏธํฐ๋ฅผ ์ค์๊ฐ์ผ๋ก ์กฐ์ ํ ์ ์๋ ์ธํฐํ์ด์ค๋ฅผ ์ ๊ณตํ์ธ์.",
|
272 |
inputs=[],
|
273 |
outputs=[input]
|
274 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
|
276 |
# Drawer ์ปดํฌ๋ํธ๋ค
|
277 |
with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
|
|
|
271 |
fn=lambda: "ํ
์คํธ๋ฅผ ์์ฑ์ผ๋ก ๋ณํํ๊ณ , ์์ฑ ํ๋ผ๋ฏธํฐ๋ฅผ ์ค์๊ฐ์ผ๋ก ์กฐ์ ํ ์ ์๋ ์ธํฐํ์ด์ค๋ฅผ ์ ๊ณตํ์ธ์.",
|
272 |
inputs=[],
|
273 |
outputs=[input]
|
274 |
+
)
|
275 |
+
|
276 |
+
example_btn6= antd.Button(
|
277 |
+
"3D ์งํ ์์ฑ๊ธฐ",
|
278 |
+
type="default",
|
279 |
+
block=True,
|
280 |
+
size="middle"
|
281 |
+
)
|
282 |
+
example_btn6.click(
|
283 |
+
fn=lambda: "Three.js๋ก ํ๋ก์์ ๋ด ์งํ์ ์์ฑํ์ธ์. ๊ณ ๋, ํ
์ค์ฒ, ๋ฌผ ํจ๊ณผ๋ฅผ ์ค์๊ฐ์ผ๋ก ์กฐ์ ํ ์ ์๊ฒ ๋ง๋์ธ์.",
|
284 |
+
inputs=[],
|
285 |
+
outputs=[input]
|
286 |
+
)
|
287 |
+
|
288 |
|
289 |
# Drawer ์ปดํฌ๋ํธ๋ค
|
290 |
with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
|