Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,18 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
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:
|
|
|
225 |
inputs=[],
|
226 |
outputs=[input]
|
227 |
)
|
228 |
+
|
229 |
+
example_btn5 = antd.Button(
|
230 |
+
"ํ
์คํธ๋ก ์์ฑ ์์ฑ ๋ฐ ์กฐ์ ์ ",
|
231 |
+
type="default",
|
232 |
+
block=True,
|
233 |
+
size="large"
|
234 |
+
)
|
235 |
+
example_btn5.click(
|
236 |
+
fn=lambda: "ํ
์คํธ๋ฅผ ์์ฑ์ผ๋ก ๋ณํํ๊ณ , ์์ฑ ํ๋ผ๋ฏธํฐ๋ฅผ ์ค์๊ฐ์ผ๋ก ์กฐ์ ํ ์ ์๋ ์ธํฐํ์ด์ค๋ฅผ ์ ๊ณตํ์ธ์.",
|
237 |
+
inputs=[],
|
238 |
+
outputs=[input]
|
239 |
+
)
|
240 |
|
241 |
# Drawer ์ปดํฌ๋ํธ๋ค
|
242 |
with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
|