kevinwang676 commited on
Commit
9d1e4ce
·
verified ·
1 Parent(s): 71ab6f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def asr(audio):
12
  with gr.Blocks() as app:
13
  gr.Markdown("# <center>🌊💕🎶 语音识别</center>")
14
  inp = gr.Audio(label="请上传一个音频文件", type="filepath")
15
- btn = gr.Button("一键开启语音识别", type="primary")
16
  out = gr.Textbox(label="文字内容", interactive=True)
17
 
18
  btn.click(asr, [inp], [out])
 
12
  with gr.Blocks() as app:
13
  gr.Markdown("# <center>🌊💕🎶 语音识别</center>")
14
  inp = gr.Audio(label="请上传一个音频文件", type="filepath")
15
+ btn = gr.Button("一键开启语音识别", variant="primary")
16
  out = gr.Textbox(label="文字内容", interactive=True)
17
 
18
  btn.click(asr, [inp], [out])