sounds / .config /logggg
ZeroWw's picture
Upload folder using huggingface_hub
c856606 verified
raw
history blame
2.56 kB
Consider using `hf_transfer` for faster uploads. This solution comes with some limitations. See https://huggingface.co/docs/huggingface_hub/hf_transfer for more details.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://huggingface.co/api/datasets/ZeroWw/sounds/commit/main
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/huggingface-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/huggingface_cli.py", line 51, in main
service.run()
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/upload.py", line 191, in run
print(self._upload())
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/commands/upload.py", line 286, in _upload
return self.api.upload_folder(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 1286, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 4724, in upload_folder
commit_info = self.create_commit(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 1286, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 3719, in create_commit
hf_raise_for_status(commit_resp, endpoint_name="commit")
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 371, in hf_raise_for_status
raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 413 Client Error: Payload Too Large for url: https://huggingface.co/api/datasets/ZeroWw/sounds/commit/main (Request ID: Root=1-66996355-5a0df7243f02f13c7987f1d9;d45732b5-c2dc-4ef1-b1c6-98751fa5c121)
A maximum of 25k LFS files are supported per commit