Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
|
@@ -104,8 +104,8 @@ gr.Interface(
|
|
| 104 |
fn=predict,
|
| 105 |
inputs=[
|
| 106 |
gr.Radio(label="目标语言", choices=supportLangs, value="chinese"),
|
| 107 |
-
gr.Audio(label="上传语音",
|
| 108 |
-
gr.Audio(label="录制语音",
|
| 109 |
],
|
| 110 |
outputs=[
|
| 111 |
gr.Text(label="识别出的文字"),
|
|
|
|
| 104 |
fn=predict,
|
| 105 |
inputs=[
|
| 106 |
gr.Radio(label="目标语言", choices=supportLangs, value="chinese"),
|
| 107 |
+
gr.Audio(label="上传语音", type="numpy"),
|
| 108 |
+
gr.Audio(label="录制语音", type="numpy"),
|
| 109 |
],
|
| 110 |
outputs=[
|
| 111 |
gr.Text(label="识别出的文字"),
|