openlrc
openlrc copied to clipboard
Transcribe and translate voice into LRC file using Whisper and LLMs (GPT, Claude, et,al). 使用whisper和LLM(GPT,Claude等)来转录、翻译你的音频为字幕文件。
如图所示,运行环境为anaconda python 3.10.14  尝试使用 pip install git+https://github.com/zh-plus/openlrc 命令拉取最新版本问题依旧。 看到 #31 中提到最近打算弃用streamlit尝试其他gui,请问是这个原因吗?
使用以下代码: `lrcer.run("/home/bingo06/AIGC/auto_ai_subtitle/video/output.m4a", src_lang='yue', target_lang='zh-cn', skip_trans=True)` 生成结果为: ``` [2024-05-18 01:19:44] INFO [MainThread] Default context config not found: Context(background=, audio_type=Anime, description_map={}), using default context. [2024-05-18 01:19:44] INFO [MainThread] Preprocessed audio already exists...
试了一下`base_url={'openai': 'https://api.g4f.icu'}` ,在chatbox.py `prompt_tokens = response.usage.prompt_tokens` 这一行报错,`response`里面的信息是 ``` New API You need to enable JavaScript to run this app. ``` 试了一下修改 `json_mode=True` 没有用 如果用`{'anthropic': 'https://api.g4f.icu'}` 会有另一个错误,显示 `https://api.g4f.icu/v1/messages "HTTP/1.1 404 Not...
已经有 srt 字幕,需要翻译成中文或者双语,能否添加一个 api 接收3个参数,源语言、目标语言、是否双语,实现该功能?
## Beep boop. Your images are optimized! Your image file size has been reduced by **27%** 🎉 Details | File | Before | After | Percent reduction | |:--|:--|:--|:--| |...
DeepSeek claims to provide a cheap(especially when the input hits the cache) large model API service which is friendly to mainland China and not inferior to gpt-3.5 in AlignBench and...
This error only occurs when transcribe certain files(not all) with faster-whisper==1.0.3. If downgrade faster-whisper to 1.0.2 and it can be used normally. ``` [2024-07-08 15:02:18] INFO [MainThread] Start Transcription (Producer)...
Currently, it seems that intermediate files(.wav) are generated uniformly before the all transcription task starts, and cleared after all transcription tasks are completed. This results in huge temporary disk usage....
use openlrc version: 1.5.2 When try to transcribe a video that have no human voice, will get exception `RuntimeError: stack expects a non-empty TensorList`. I found the following text in...
```python /opt/conda/lib/python3.11/site-packages/df/io.py:9: UserWarning: `torchaudio.backend.common.AudioMetaData` has been moved to `torchaudio.AudioMetaData`. Please update the import path. from torchaudio.backend.common import AudioMetaData Traceback (most recent call last): File "/opt/conda/bin/openlrc", line 8, in sys.exit(main()) ^^^^^^...