Skip to content

Commit

Permalink
feat: 添加声音适配
Browse files Browse the repository at this point in the history
  • Loading branch information
mikumifa committed Sep 30, 2024
1 parent 44de1a9 commit f3101a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tab/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ def file_select_handler(select_data: SelectData, files):

with gr.Accordion(label='配置抢票成功声音提醒[可选]', open=False):
with gr.Row():
gr.Markdown("""
目前只支持wav格式,其他格式请自行转换 https://www.freeconvert.com/mp3-to-wav
或者下载ffmpeg (这个自行网络上搜索,下载比较麻烦
""")
audio_path_ui = gr.Audio(
label="上传提示声音[只支持格式wav]", type="filepath", loop=True)

Expand Down

0 comments on commit f3101a4

Please sign in to comment.