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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
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()