Spaces:
Running
Running
Commit
ยท
65dcd62
1
Parent(s):
f90cfe8
Update app.py
Browse files
app.py
CHANGED
@@ -52,10 +52,11 @@ CHUNK_SIZE = 1024
|
|
52 |
with gr.Blocks() as demo:
|
53 |
gr.Markdown("FakeVoice: AI๊ฐ ๋ณต์ ํ ์ ๋ช
์ธ์ ์์ฑ์ผ๋ก, ํ
์คํธ๋ง ์
๋ ฅํ๋ฉด ์์ฐ์ค๋ฝ๊ฒ ํด๋น ์ธ๋ฌผ์ ์์ฑ์ผ๋ก ์์ฑํฉ๋๋ค.")
|
54 |
gr.Markdown("์ง๊ธ ์ปค๋ฎค๋ํฐ์ ์ฐธ์ฌํ์๋ฉด ๋์ฑ ๋ง์ ์ ๋ณด์ ๋ค์ํ ๊ธฐํ๋ฅผ ์ป์ผ์ค ๊ฒ์
๋๋ค. ์ปค๋ฎค๋ํฐ ์ฐธ์ฌ ๋งํฌ https://open.kakao.com/o/gE6hK9Vf ")
|
|
|
55 |
text_input = gr.Textbox(label="์์ฑ์ผ๋ก ์์ฑํ ํ
์คํธ๋ฅผ ์
๋ ฅํ์ธ์.(100๊ธ์ ์ด๋ด ์ ํ ์ค์ ๋์ด, ์ด๊ณผ์ ์์ฑ ์์ฑ์ด ์ ํ๋ฉ๋๋ค.)")
|
56 |
voice_choice = gr.Dropdown(choices=["๋จ์ฑAI", "์ฌ์ฑAI", "์ฐจ์น์", "๊น์ ์", "๋
ธ๋ฌดํ", "๊ถ์", "์ค์์ด"], label="์์ฑ ์ ํ")
|
57 |
submit_button = gr.Button("์์ฑ")
|
58 |
-
audio_output = gr.Audio(label="์์ฑ๋ ์ค๋์ค"
|
59 |
|
60 |
submit_button.click(
|
61 |
fn=generate_audio,
|
|
|
52 |
with gr.Blocks() as demo:
|
53 |
gr.Markdown("FakeVoice: AI๊ฐ ๋ณต์ ํ ์ ๋ช
์ธ์ ์์ฑ์ผ๋ก, ํ
์คํธ๋ง ์
๋ ฅํ๋ฉด ์์ฐ์ค๋ฝ๊ฒ ํด๋น ์ธ๋ฌผ์ ์์ฑ์ผ๋ก ์์ฑํฉ๋๋ค.")
|
54 |
gr.Markdown("์ง๊ธ ์ปค๋ฎค๋ํฐ์ ์ฐธ์ฌํ์๋ฉด ๋์ฑ ๋ง์ ์ ๋ณด์ ๋ค์ํ ๊ธฐํ๋ฅผ ์ป์ผ์ค ๊ฒ์
๋๋ค. ์ปค๋ฎค๋ํฐ ์ฐธ์ฌ ๋งํฌ https://open.kakao.com/o/gE6hK9Vf ")
|
55 |
+
gr.Markdown("์์ฑ๋ ์ค๋์ค๋ฅผ ๋ค์ด๋ก๋ ํ ์ ์์ต๋๋ค. ๋ค์ด๋ก๋ ๋ฐ์ผ์ ํ ๋ค์ด๋ก๋ ๋ฐ์ ํ์ผ์ ํ์ฅ์๋ฅผ mp3๋ก ๋ณ๊ฒฝํ์๋ฉด ๋ฉ๋๋ค. ")
|
56 |
text_input = gr.Textbox(label="์์ฑ์ผ๋ก ์์ฑํ ํ
์คํธ๋ฅผ ์
๋ ฅํ์ธ์.(100๊ธ์ ์ด๋ด ์ ํ ์ค์ ๋์ด, ์ด๊ณผ์ ์์ฑ ์์ฑ์ด ์ ํ๋ฉ๋๋ค.)")
|
57 |
voice_choice = gr.Dropdown(choices=["๋จ์ฑAI", "์ฌ์ฑAI", "์ฐจ์น์", "๊น์ ์", "๋
ธ๋ฌดํ", "๊ถ์", "์ค์์ด"], label="์์ฑ ์ ํ")
|
58 |
submit_button = gr.Button("์์ฑ")
|
59 |
+
audio_output = gr.Audio(label="์์ฑ๋ ์ค๋์ค")
|
60 |
|
61 |
submit_button.click(
|
62 |
fn=generate_audio,
|