Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -17,7 +17,7 @@ def transcribe_audio(audio):
|
|
| 17 |
# Gradio ์ธํฐํ์ด์ค
|
| 18 |
demo = gr.Interface(
|
| 19 |
fn=transcribe_audio,
|
| 20 |
-
inputs=gr.Audio(label = '์ค๋์ค', sources="microphone", type='
|
| 21 |
outputs=[gr.Textbox(label='๊ฒฐ๊ณผ'), gr.Textbox(label='์ํธํ๋ ๊ฒฐ๊ณผ')],
|
| 22 |
title='์ด์ฐ์ง์ Speech to Text',
|
| 23 |
description='AI 60%, ๋ 40% (AI ์ฝ๋ 40๋ถ๋์ ๊ณ ์น๋ค๊ฐ new chat์ผ๋ก ๋ค์ ์ง๋๊น ๋ฐ๋ก๋จ) (Interface๋ ๋ด๊ฐ๋ง๋ฌ) (์ ์์๊ฐ 1์๊ฐ)')
|
|
|
|
| 17 |
# Gradio ์ธํฐํ์ด์ค
|
| 18 |
demo = gr.Interface(
|
| 19 |
fn=transcribe_audio,
|
| 20 |
+
inputs=gr.Audio(label = '์ค๋์ค', sources="microphone", type='filepath'),
|
| 21 |
outputs=[gr.Textbox(label='๊ฒฐ๊ณผ'), gr.Textbox(label='์ํธํ๋ ๊ฒฐ๊ณผ')],
|
| 22 |
title='์ด์ฐ์ง์ Speech to Text',
|
| 23 |
description='AI 60%, ๋ 40% (AI ์ฝ๋ 40๋ถ๋์ ๊ณ ์น๋ค๊ฐ new chat์ผ๋ก ๋ค์ ์ง๋๊น ๋ฐ๋ก๋จ) (Interface๋ ๋ด๊ฐ๋ง๋ฌ) (์ ์์๊ฐ 1์๊ฐ)')
|