Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ def text_to_speech_korean(text):
|
|
14 |
# Gradio ์ธํฐํ์ด์ค ์ค์
|
15 |
iface = gr.Interface(
|
16 |
fn=text_to_speech_korean,
|
17 |
-
inputs=gr.
|
18 |
-
outputs=gr.
|
19 |
title="ํ๊ตญ์ด TTS",
|
20 |
description="ํ๊ตญ์ด ํ
์คํธ๋ฅผ ์
๋ ฅํ๋ฉด TTS๋ก ์์ฑ ์ถ๋ ฅํฉ๋๋ค."
|
21 |
)
|
|
|
14 |
# Gradio ์ธํฐํ์ด์ค ์ค์
|
15 |
iface = gr.Interface(
|
16 |
fn=text_to_speech_korean,
|
17 |
+
inputs=gr.Textbox(label="ํ๊ตญ์ด ํ
์คํธ ์
๋ ฅ"),
|
18 |
+
outputs=gr.Audio(type="file", label="TTS ์ถ๋ ฅ"),
|
19 |
title="ํ๊ตญ์ด TTS",
|
20 |
description="ํ๊ตญ์ด ํ
์คํธ๋ฅผ ์
๋ ฅํ๋ฉด TTS๋ก ์์ฑ ์ถ๋ ฅํฉ๋๋ค."
|
21 |
)
|