Huanshere / Huanshere/VideoLingo

上传视频开始运行时报错了这个怎么解决

Open
#353 1 comment 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

LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.
Traceback:
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "C:\App\videolingo\VideoLingo\st.py", line 123, in
main()
File "C:\App\videolingo\VideoLingo\st.py", line 119, in main
text_processing_section()
File "C:\App\videolingo\VideoLingo\st.py", line 33, in text_processing_section
process_text()
File "C:\App\videolingo\VideoLingo\st.py", line 47, in process_text
step2_whisperX.transcribe()
File "C:\App\videolingo\VideoLingo\core\step2_whisperX.py", line 160, in transcribe
result = transcribe_audio(whisper_audio, start, end)
File "C:\App\videolingo\VideoLingo\core\step2_whisperX.py", line 89, in transcribe_audio
model = whisperx.load_model(model_name, device, compute_type=compute_type, language=whisper_language, vad_options=vad_options, asr_options=asr_options, download_root=MODEL_DIR)
File "c:\app\videolingo\videolingo\third_party\whisperx\whisperx\asr.py", line 288, in load_model
model = model or WhisperModel(whisper_arch,
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\faster_whisper\transcribe.py", line 127, in init
model_path = download_model(
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\faster_whisper\utils.py", line 119, in download_model
return huggingface_hub.snapshot_download(repo_id, **kwargs)
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\App\videolingo\VideoLingo\installer_files\env\lib\site-packages\huggingface_hub_snapshot_download.py", line 219, in snapshot_download
raise LocalEntryNotFoundError(

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 upload flow and start at st.py:33-47, then follow the trace into core/step2_whisperX.py:89 and :160 and the WhisperX model-loading call. Check how MODEL_DIR and the model download path are used; done means transcription starts without LocalEntryNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, streamlit
Domain
machine-learning
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.