Kedreamix / Linly-Dubbing

智能视频多语言AI配音/翻译工具 - Linly-Dubbing — “AI赋能,语言无界”
Apache License 2.0
1.81k stars 166 forks source link

部署好了运行报错,可以下载到视频 #24

Open liudehua766 opened 2 months ago

liudehua766 commented 2 months ago

请问是什么问题呢 控制台代码: 正在运行Python脚本 webui.py C:\Users\xueyou\anaconda3\envs\linly_dubbing\lib\site-packages\pyannote\audio\core\io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call. torchaudio.set_audio_backend("soundfile") failed to import ttsfrd, use WeTextProcessing instead Running on local URL: http://127.0.0.1:6006 Running on public URL: https://dcab1ea6fc6b5f95b5.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces) 2024-09-11 16:12:13.788 | INFO | tools.step010_demucs_vr:load_model:21 - Loading Demucs model: htdemucs_ft 2024-09-11 16:12:13.788 | INFO | tools.step042_tts_xtts:load_model:24 - Loading TTS model from models/TTS/XTTS-v2 Loading TTS model from models/TTS/XTTS-v2 2024-09-11 16:12:13.792 | INFO | tools.step021_asr_whisperx:load_whisper_model:36 - Loading WhisperX model: models/ASR/whisper\faster-whisper-large-v3

Using model: xtts 2024-09-11 16:12:26.389 | INFO | tools.step010_demucs_vr:load_model:25 - Demucs model loaded in 12.60 seconds No language specified, language will be first be detected for each audio file (increases inference time). 13%|████▉ | 2.21M/16.9M [00:05<00:38, 405kiB/s]2024-09-11 16:12:34.675 | INFO | tools.step042_tts_xtts:load_model:35 - TTS model loaded in 20.89s 100%|██████████████████████████████████████| 16.9M/16.9M [02:53<00:00, 102kiB/s] Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.4.0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint C:\Users\xueyou\.cache\torch\whisperx-vad-segmentation.bin Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x. Model was trained with torch 1.10.0+cu102, yours is 2.4.1+cpu. Bad things might happen unless you revert torch to 1.x. 2024-09-11 16:15:23.454 | INFO | tools.step021_asr_whisperx:load_whisper_model:43 - Loaded WhisperX model: models/ASR/whisper\faster-whisper-large-v3 in 189.66s 2024-09-11 16:15:24.862 | INFO | tools.step021_asr_whisperx:load_align_model:56 - Loaded alignment model: en in 1.41s [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1kr421M7vz/ [BiliBili] 1kr421M7vz: Downloading webpage [BiliBili] BV1kr421M7vz: Extracting videos in anthology [BiliBili] Format(s) 4K 超清, 1080P 高码率, 1080P 高清, 720P 高清 are missing; you have to login or become a premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies [BiliBili] 1406337061: Extracting chapters [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1kr421M7vz/ [BiliBili] 1kr421M7vz: Downloading webpage [BiliBili] BV1kr421M7vz: Extracting videos in anthology [BiliBili] Format(s) 4K 超清, 1080P 高码率, 1080P 高清, 720P 高清 are missing; you have to login or become a premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies [BiliBili] 1406337061: Extracting chapters [info] BV1kr421M7vz: Downloading 1 format(s): 100110+30280 [info] Downloading video thumbnail 0 ... [info] Writing video thumbnail 0 to: videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.jpg [info] Writing video metadata as JSON to: videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.info.json [download] Destination: videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.f100110.mp4 [download] 100% of 974.42KiB in 00:00:00 at 1.99MiB/s [download] Destination: videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.f30280.m4a [download] 100% of 435.66KiB in 00:00:00 at 2.69MiB/s [Merger] Merging formats into "videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.mp4" Deleting original file videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.f30280.m4a (pass -k to keep) Deleting original file videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候\download.f100110.mp4 (pass -k to keep) 2024-09-11 16:15:27.730 | INFO | tools.step000_video_downloader:download_single_video:53 - Video downloaded in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:27.730 | INFO | tools.do_everything:process_video:43 - Process video in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:27.744 | INFO | tools.step010_demucs_vr:extract_audio_from_video:90 - Extracting audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:28.815 | INFO | tools.step010_demucs_vr:extract_audio_from_video:98 - Audio extracted from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:28.816 | INFO | tools.step010_demucs_vr:separate_audio:47 - Separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:28.816 | INFO | tools.step010_demucs_vr:load_model:21 - Loading Demucs model: htdemucs_ft 2024-09-11 16:15:30.337 | INFO | tools.step010_demucs_vr:load_model:25 - Demucs model loaded in 1.52 seconds 2024-09-11 16:15:35.598 | ERROR | tools.step010_demucs_vr:separate_audio:56 - Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:35.599 | ERROR | tools.do_everything:process_video:60 - Error processing video (英文无字幕) 阿里这小子在水城威尼斯发来问候: Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:35.603 | INFO | tools.step000_video_downloader:download_single_video:35 - Video already downloaded in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:35.604 | INFO | tools.do_everything:process_video:43 - Process video in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:35.605 | INFO | tools.step010_demucs_vr:separate_audio:47 - Separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:35.606 | INFO | tools.step010_demucs_vr:load_model:18 - Demucs model already loaded 2024-09-11 16:15:40.720 | ERROR | tools.step010_demucs_vr:separate_audio:56 - Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:45.634 | ERROR | tools.do_everything:process_video:60 - Error processing video (英文无字幕) 阿里这小子在水城威尼斯发来问候: Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:45.634 | INFO | tools.step000_video_downloader:download_single_video:35 - Video already downloaded in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:45.634 | INFO | tools.do_everything:process_video:43 - Process video in videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:45.640 | INFO | tools.step010_demucs_vr:separate_audio:47 - Separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:45.640 | INFO | tools.step010_demucs_vr:load_model:18 - Demucs model already loaded 2024-09-11 16:15:50.755 | ERROR | tools.step010_demucs_vr:separate_audio:56 - Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候 2024-09-11 16:15:50.756 | ERROR | tools.do_everything:process_video:60 - Error processing video (英文无字幕) 阿里这小子在水城威尼斯发来问候: Error separating audio from videos\v\村长台钓加拿大\20240805 英文无字幕 阿里这小子在水城威尼斯发来问候