Drbrain0620 commited on
Commit
60007a3
ยท
verified ยท
1 Parent(s): 3ad0795

Update main.py

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