Spaces:
Configuration error
Configuration error
seawolf2357
commited on
Commit
โข
9ca8e1f
1
Parent(s):
c2656a6
initial commit
Browse files
app.py
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
title="ํ๊ธ ๋ฐ ๋ค๊ตญ์ด + ChatGPT + ๋ฉํฐ ๋ชจ๋ธ๋ง ๊ธฐ๋ฐ AI"
|
4 |
-
|
5 |
-
description="Voice ์๋ ๋ถ์: https://seawolf2357-aivora.hf.space \n "
|
6 |
|
7 |
tts_examples = [
|
8 |
"I love learning machine learning",
|
@@ -13,18 +12,22 @@ tts_demo = gr.Interface.load(
|
|
13 |
"spaces/seawolf2357/multi_test",
|
14 |
title=None,
|
15 |
examples=tts_examples,
|
16 |
-
description="Give me something to say!",
|
17 |
)
|
18 |
|
19 |
stt_demo = gr.Interface.load(
|
20 |
"spaces/seawolf2357/PDF-text-extractor",
|
21 |
title=None,
|
22 |
inputs="mic",
|
23 |
-
|
24 |
|
|
|
|
|
|
|
|
|
|
|
25 |
)
|
26 |
|
27 |
-
demo = gr.TabbedInterface([tts_demo, stt_demo], ["Article URL ๋ถ์", "PDF ๋ถ์"])
|
28 |
|
29 |
if __name__ == "__main__":
|
30 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
title="ํ๊ธ ๋ฐ ๋ค๊ตญ์ด + ChatGPT + ๋ฉํฐ ๋ชจ๋ธ๋ง ๊ธฐ๋ฐ AI"
|
4 |
+
|
|
|
5 |
|
6 |
tts_examples = [
|
7 |
"I love learning machine learning",
|
|
|
12 |
"spaces/seawolf2357/multi_test",
|
13 |
title=None,
|
14 |
examples=tts_examples,
|
|
|
15 |
)
|
16 |
|
17 |
stt_demo = gr.Interface.load(
|
18 |
"spaces/seawolf2357/PDF-text-extractor",
|
19 |
title=None,
|
20 |
inputs="mic",
|
21 |
+
)
|
22 |
|
23 |
+
gpt_demo = gr.Interface.load(
|
24 |
+
"spaces/seawolf2357/kochatgpt",
|
25 |
+
title=None,
|
26 |
+
inputs="mic",
|
27 |
+
|
28 |
)
|
29 |
|
30 |
+
demo = gr.TabbedInterface([tts_demo, stt_demo, gpt_demo], ["Article URL ๋ถ์", "PDF ๋ถ์", "ChatGPT"])
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
demo.launch()
|