Huanshere / Huanshere/VideoLingo

本地上传的mp3格式的文件完全无法制作字幕

Open
#404 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

Description

上传本地mp3后,浏览器界面哪个小人就不停动画,无论多久都无法进入下一步,然后终端提示如下错误:
/opt/anaconda3/envs/videolingo/lib/python3.10/importlib/init.py:169: UserWarning: TorchAudio's global backend is now deprecated. Please enable distpatcher by setting TORCHAUDIO_USE_BACKEND_DISPATCHER=1, and specify backend when calling load/info/save function.
_bootstrap._exec(spec, module)
/opt/anaconda3/envs/videolingo/lib/python3.10/site-packages/streamlit/watcher/local_sources_watcher.py:210: UserWarning: Torchaudio's I/O functions now support par-call bakcend dispatch. Importing backend implementation directly is no longer guaranteed to work. Please use backend keyword with load/save/info function, instead of calling the udnerlying implementation directly.
lambda m: list(m.path._path),

这该怎么办?我问ai助手,告诉我去修改st.py里的torchaudio相关的参数,但问题是st.py里根本没这几个参数啊

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by uploading a local MP3, then inspect st.py and the torchaudio-related paths shown in the Streamlit warnings. Determine whether the warnings block subtitle generation; done means the upload advances beyond the endless animation without the reported terminal failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, streamlit
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.