Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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=
|
| 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์๊ฐ)')
|