Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def transcribe(audio):
|
|
| 11 |
# 创建 Gradio 接口
|
| 12 |
demo = gr.Interface(
|
| 13 |
fn=transcribe,
|
| 14 |
-
inputs=gr.Audio(sources="upload", type="
|
| 15 |
outputs="text",
|
| 16 |
title="Japanese Speech Recognition"
|
| 17 |
)
|
|
|
|
| 11 |
# 创建 Gradio 接口
|
| 12 |
demo = gr.Interface(
|
| 13 |
fn=transcribe,
|
| 14 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
| 15 |
outputs="text",
|
| 16 |
title="Japanese Speech Recognition"
|
| 17 |
)
|