Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -200,6 +200,20 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
| 200 |
outputs=[input]
|
| 201 |
)
|
| 202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
# Drawer ์ปดํฌ๋ํธ๋ค
|
| 204 |
with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
|
| 205 |
code_output = legacy.Markdown()
|
|
|
|
| 200 |
outputs=[input]
|
| 201 |
)
|
| 202 |
|
| 203 |
+
# ๋ ๋ฒ์งธ ์์ ๋ฒํผ
|
| 204 |
+
example_btn3 = antd.Button(
|
| 205 |
+
"ํ
์คํธ๋ก ์์ฑ ์์ฑ(TTS)",
|
| 206 |
+
type="default",
|
| 207 |
+
block=True,
|
| 208 |
+
size="large"
|
| 209 |
+
)
|
| 210 |
+
example_btn3.click(
|
| 211 |
+
fn=lambda: "ํ
์คํธ ์
๋ ฅ์ ์์ฑ์ผ๋ก ์ถ๋ ฅ๋๊ฒ ์์ฑ ํ๋ผ",
|
| 212 |
+
inputs=[],
|
| 213 |
+
outputs=[input]
|
| 214 |
+
)
|
| 215 |
+
|
| 216 |
+
|
| 217 |
# Drawer ์ปดํฌ๋ํธ๋ค
|
| 218 |
with antd.Drawer(open=False, title="code", placement="left", width="750px") as code_drawer:
|
| 219 |
code_output = legacy.Markdown()
|