GoodResearch commited on
Commit
065002c
·
verified ·
1 Parent(s): 40be4df

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def main(audio_file, is_multispeaker):
150
  demo = gr.Interface(
151
  fn=main,
152
  inputs=[
153
- gr.Audio(type="file", label="上传音频"),
154
  gr.Checkbox(label="是否为多人对话音频(启用说话人分离)")
155
  ],
156
  outputs=gr.File(label="转录结果 (.txt)"),
 
150
  demo = gr.Interface(
151
  fn=main,
152
  inputs=[
153
+ gr.Audio(type="filepath", label="上传音频"),
154
  gr.Checkbox(label="是否为多人对话音频(启用说话人分离)")
155
  ],
156
  outputs=gr.File(label="转录结果 (.txt)"),