Spaces:
Running
on
Zero
stop closing everything
? Btw, it doesnt work now: Runtime error
exception:
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/faster_whisper/utils.py", line 103, in download_model
return huggingface_hub.snapshot_download(repo_id, **kwargs)
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 251, in snapshot_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/app/app.py", line 34, in
model = WhisperModel(model_size, device="cuda", compute_type="float16")
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 127, in init
model_path = download_model(
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/faster_whisper/utils.py", line 119, in download_model
return huggingface_hub.snapshot_download(repo_id, **kwargs)
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 235, in snapshot_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.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.
Container logs:
===== Application Startup at 2024-04-22 13:45:37 =====