Drbrain0620 commited on
Commit
7dcd037
ยท
verified ยท
1 Parent(s): 60007a3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -13,7 +13,7 @@ def transcribe_audio(audio):
13
 
14
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค
15
  demo = gr.Interface(fn=transcribe_audio,
16
- inputs=gr.Audio(label = '์˜ค๋””์˜ค', sources="microphone", type="filepath"),
17
  outputs=[gr.Textbox(label='๊ฒฐ๊ณผ'), gr.Textbox(label='์•”ํ˜ธํ™”๋œ ๊ฒฐ๊ณผ')],
18
  title='์ด์šฐ์ง„์˜ Speech to Text',
19
  description='AI 60%, ๋‚˜ 40% (AI ์ฝ”๋“œ 40๋ถ„๋™์•ˆ ๊ณ ์น˜๋‹ค๊ฐ€ new chat์œผ๋กœ ๋‹ค์‹œ ์งœ๋‹ˆ๊นŒ ๋ฐ”๋กœ๋จ) (Interface๋Š” ๋‚ด๊ฐ€๋งŒ๋“ฌ) (์ œ์ž‘์‹œ๊ฐ„ 1์‹œ๊ฐ„)')
 
13
 
14
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค
15
  demo = gr.Interface(fn=transcribe_audio,
16
+ inputs=gr.Audio(label = '์˜ค๋””์˜ค', sources="microphone", type='numpy'),
17
  outputs=[gr.Textbox(label='๊ฒฐ๊ณผ'), gr.Textbox(label='์•”ํ˜ธํ™”๋œ ๊ฒฐ๊ณผ')],
18
  title='์ด์šฐ์ง„์˜ Speech to Text',
19
  description='AI 60%, ๋‚˜ 40% (AI ์ฝ”๋“œ 40๋ถ„๋™์•ˆ ๊ณ ์น˜๋‹ค๊ฐ€ new chat์œผ๋กœ ๋‹ค์‹œ ์งœ๋‹ˆ๊นŒ ๋ฐ”๋กœ๋จ) (Interface๋Š” ๋‚ด๊ฐ€๋งŒ๋“ฌ) (์ œ์ž‘์‹œ๊ฐ„ 1์‹œ๊ฐ„)')