Arnaudding001 commited on
Commit
bb23e2c
1 Parent(s): 58e460c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -227,7 +227,7 @@ def create_ui(inputAudioMaxDuration, share=False, server_name: str = None):
227
  ui_description += "\n\n\n\n对于时长大于10分钟的非英语音频文件,建议选择VAD选项中的Silero VAD (语音活动检测器)。"
228
 
229
  if inputAudioMaxDuration > 0:
230
- ui_description += "\n\n" + "Max audio file length: " + str(inputAudioMaxDuration) + " s"
231
 
232
 
233
  demo = gr.Interface(fn=ui.transcribe_webui, description=ui_description, inputs=[
 
227
  ui_description += "\n\n\n\n对于时长大于10分钟的非英语音频文件,建议选择VAD选项中的Silero VAD (语音活动检测器)。"
228
 
229
  if inputAudioMaxDuration > 0:
230
+ ui_description += "\n\n" + "音频最大时长: " + str(inputAudioMaxDuration) + " "
231
 
232
 
233
  demo = gr.Interface(fn=ui.transcribe_webui, description=ui_description, inputs=[