v2.0.4
Huanshere/VideoLingov2.0.4Dec 3, 2024by Huanshere
AI Summary
Adds Demucs configuration and improves audio quality, while fixing subtitle font size and 'All same length' errors.
Key Highlights
- Demucs configuration added to sidebar with increased human voice volume.
- Fixed double-line subtitle issues by reducing font size.
- Fixed 'All same length' error and improved Demucs audio quality.
New Features
- Demucs configuration and volume control
- Subtitle font size fix
- Demucs audio quality improvements
Full Release Notes
## Release Notes 🚀 **New Features:** * Added Demucs configuration in the Streamlit sidebar and increased human voice volume after Demucs processing, recommended for videos with loud background music. * Added memory cleanup after Demucs and improved Demucs audio quality. 🐛 **Bug Fixes:** * Reduced subtitle font size to prevent double-line subtitles. * Fixed the "All same length" error. Note: This issue may still occur with smaller models or reverse API usage. * Added handling for exceeding dubbing length limits, now truncating instead of throwing an error. 🔧 **Improvements:** * Optimized prompt splitting to handle repeated text. * Improved language style and removed the concise requirement from translation prompts. * Updated `install.py` to rollback to the v2.0 installation method, removing local third-party installation to avoid errors. * Installation now directly installs whisperX and Demucs from Git, avoiding dependency conflicts. 🚀 **新功能:** * 在 Streamlit 侧边栏中添加了 Demucs 配置,并在 Demucs 处理后增加了人声音量,适用于背景音乐较大的视频。 * 在 Demucs 处理后添加了内存清理,并提升了 Demucs 音质。 🐛 **问题修复:** * 减小了字幕字体大小,防止出现双行字幕。 * 修复了 "All same length" 错误。注意:使用较小的模型或逆向接口时仍可能报错。 * 增加了配音长度超限的处理,现在会截断而不是抛出错误。 🔧 **改进:** * 优化了 prompt 分割,处理重复文本。 * 优化了翻译 prompt 的语言风格并移除了简洁要求。 * 更新了 `install.py`,回滚到 v2.0 安装方法,移除了本地第三方安装,避免错误。 * 安装现在直接从 Git 安装 whisperX 和 Demucs,避免了依赖冲突。