Spaces:
Runtime error
Runtime error
Arnaudding001
commited on
Commit
•
bb23e2c
1
Parent(s):
58e460c
Update app.py
Browse files
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" + "
|
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=[
|