Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occured while synchronizing the model guillaumekln/faster-whisper-medium from the Hugging Face Hub: #259

Open
wanglongpeng1 opened this issue Jun 5, 2024 · 0 comments

Comments

@wanglongpeng1
Copy link

相同的环境v1能跑通 ,换到v2就不行了
demo_part3第三个cell 报错
OpenVoice version: v2
An error occured while synchronizing the model guillaumekln/faster-whisper-medium from the Hugging Face Hub:
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.
Trying to load the model directly from the local cache, if it exists.

OSError Traceback (most recent call last)
File /anaconda3/envs/openvoice_t_wlp/lib/python3.10/site-packages/urllib3/connection.py:198, in HTTPConnection._new_conn(self)
197 try:
--> 198 sock = connection.create_connection(
199 (self._dns_host, self.port),
200 self.timeout,
201 source_address=self.source_address,
202 socket_options=self.socket_options,
203 )
204 except socket.gaierror as e:

File /anaconda3/envs/openvoice_t_wlp/lib/python3.10/site-packages/urllib3/util/connection.py:85, in create_connection(address, timeout, source_address, socket_options)
84 try:
---> 85 raise err
86 finally:
87 # Break explicitly a reference cycle

File /anaconda3/envs/openvoice_t_wlp/lib/python3.10/site-packages/urllib3/util/connection.py:73, in create_connection(address, timeout, source_address, socket_options)
72 sock.bind(source_address)
---> 73 sock.connect(sa)
74 # Break explicitly a reference cycle

OSError: [Errno 101] Network is unreachable
...
243 "outgoing traffic has been disabled. To enable repo look-ups and downloads online, set "
244 "'HF_HUB_OFFLINE=0' as environment variable."
245 ) from api_call_erro

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.
已经把环境变量换为
$HF_ENDPOINT
https://hf-mirror.com还是不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant