seawolf2357 commited on
Commit
9ca8e1f
โ€ข
1 Parent(s): c2656a6

initial commit

Browse files
Files changed (1) hide show
  1. app.py +8 -5
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
- description="Let me try to guess what you're saying!",
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()