seawolf2357 commited on
Commit
f3d41cc
ยท
1 Parent(s): c9af1b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def generate_audio(text, voice_name):
36
  with gr.Blocks() as demo:
37
  gr.Markdown("### ํ…์ŠคํŠธ๋ฅผ ๋ณต์ œ๋œ ์Œ์„ฑ์œผ๋กœ ๋ณ€ํ™˜")
38
  gr.Markdown("AI๊ฐ€ ๋ณต์ œํ•œ ์œ ๋ช…์ธ์˜ ์Œ์„ฑ์œผ๋กœ, ํ…์ŠคํŠธ๋งŒ ์ž…๋ ฅํ•˜๋ฉด ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ํ•ด๋‹น ์ธ๋ฌผ์˜ ์Œ์„ฑ์œผ๋กœ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.")
39
- text_input = gr.Textbox(label="์Œ์„ฑ์œผ๋กœ ์ƒ์„ฑํ•  ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”.(100๊ธ€์ž ์ด๋‚ด๋กœ ์ œํ•œ)", max_chars=100)
40
  voice_choice = gr.Dropdown(choices=["์ฐจ์Šน์›", "๊น€์ •์€", "๊ถ์˜ˆ"], label="์Œ์„ฑ ์„ ํƒ")
41
  submit_button = gr.Button("์ƒ์„ฑ")
42
  audio_output = gr.Audio(label="์ƒ์„ฑ๋œ ์˜ค๋””์˜ค")
 
36
  with gr.Blocks() as demo:
37
  gr.Markdown("### ํ…์ŠคํŠธ๋ฅผ ๋ณต์ œ๋œ ์Œ์„ฑ์œผ๋กœ ๋ณ€ํ™˜")
38
  gr.Markdown("AI๊ฐ€ ๋ณต์ œํ•œ ์œ ๋ช…์ธ์˜ ์Œ์„ฑ์œผ๋กœ, ํ…์ŠคํŠธ๋งŒ ์ž…๋ ฅํ•˜๋ฉด ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ํ•ด๋‹น ์ธ๋ฌผ์˜ ์Œ์„ฑ์œผ๋กœ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.")
39
+ text_input = gr.Textbox(label="์Œ์„ฑ์œผ๋กœ ์ƒ์„ฑํ•  ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”.(100๊ธ€์ž ์ด๋‚ด๋กœ ์ œํ•œ)")
40
  voice_choice = gr.Dropdown(choices=["์ฐจ์Šน์›", "๊น€์ •์€", "๊ถ์˜ˆ"], label="์Œ์„ฑ ์„ ํƒ")
41
  submit_button = gr.Button("์ƒ์„ฑ")
42
  audio_output = gr.Audio(label="์ƒ์„ฑ๋œ ์˜ค๋””์˜ค")