huggingface-hub 0.20.0rc1__py3-none-any.whl → 0.20.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of huggingface-hub might be problematic. Click here for more details.

@@ -46,7 +46,7 @@ import sys
46
46
  from typing import TYPE_CHECKING
47
47
 
48
48
 
49
- __version__ = "0.20.0.rc1"
49
+ __version__ = "0.20.2"
50
50
 
51
51
  # Alphabetical order of definitions is ensured in tests
52
52
  # WARNING: any comment added in this dictionary definition will be lost when
@@ -63,7 +63,6 @@ _SUBMOD_ATTRS = {
63
63
  "InferenceEndpointType",
64
64
  ],
65
65
  "_login": [
66
- "get_token",
67
66
  "interpreter_login",
68
67
  "login",
69
68
  "logout",
@@ -300,6 +299,7 @@ _SUBMOD_ATTRS = {
300
299
  "configure_http_backend",
301
300
  "dump_environment_info",
302
301
  "get_session",
302
+ "get_token",
303
303
  "logging",
304
304
  "scan_cache_dir",
305
305
  ],
@@ -414,7 +414,6 @@ if TYPE_CHECKING: # pragma: no cover
414
414
  InferenceEndpointType, # noqa: F401
415
415
  )
416
416
  from ._login import (
417
- get_token, # noqa: F401
418
417
  interpreter_login, # noqa: F401
419
418
  login, # noqa: F401
420
419
  logout, # noqa: F401
@@ -641,6 +640,7 @@ if TYPE_CHECKING: # pragma: no cover
641
640
  configure_http_backend, # noqa: F401
642
641
  dump_environment_info, # noqa: F401
643
642
  get_session, # noqa: F401
643
+ get_token, # noqa: F401
644
644
  logging, # noqa: F401
645
645
  scan_cache_dir, # noqa: F401
646
646
  )
huggingface_hub/_login.py CHANGED
@@ -14,7 +14,6 @@
14
14
  """Contains methods to login to the Hub."""
15
15
  import os
16
16
  import subprocess
17
- import warnings
18
17
  from functools import partial
19
18
  from getpass import getpass
20
19
  from pathlib import Path
@@ -22,10 +21,18 @@ from typing import Optional
22
21
 
23
22
  from . import constants
24
23
  from .commands._cli_utils import ANSI
25
- from .utils import logging
26
- from .utils._git_credential import list_credential_helpers, set_git_credential, unset_git_credential
27
- from .utils._runtime import is_google_colab, is_notebook
28
- from .utils._subprocess import capture_output, run_subprocess
24
+ from .utils import (
25
+ capture_output,
26
+ get_token,
27
+ is_google_colab,
28
+ is_notebook,
29
+ list_credential_helpers,
30
+ logging,
31
+ run_subprocess,
32
+ set_git_credential,
33
+ unset_git_credential,
34
+ )
35
+ from .utils._token import _get_token_from_environment, _get_token_from_google_colab
29
36
 
30
37
 
31
38
  logger = logging.get_logger(__name__)
@@ -38,8 +45,6 @@ _HF_LOGO_ASCII = """
38
45
  _| _| _|_| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _| _| _| _|_|_| _|_|_|_|
39
46
  """
40
47
 
41
- _CHECK_GOOGLE_COLAB_SECRET = True
42
-
43
48
 
44
49
  def login(
45
50
  token: Optional[str] = None,
@@ -284,99 +289,6 @@ def notebook_login(new_session: bool = True, write_permission: bool = False) ->
284
289
  token_finish_button.on_click(partial(login_token_event, write_permission=write_permission))
285
290
 
286
291
 
287
- ###
288
- # Token helpers
289
- ###
290
-
291
-
292
- def get_token() -> Optional[str]:
293
- """
294
- Get token if user is logged in.
295
-
296
- Note: in most cases, you should use [`huggingface_hub.utils.build_hf_headers`] instead. This method is only useful
297
- if you want to retrieve the token for other purposes than sending an HTTP request.
298
-
299
- Token is retrieved in priority from the `HF_TOKEN` environment variable. Otherwise, we read the token file located
300
- in the Hugging Face home folder. Returns None if user is not logged in. To log in, use [`login`] or
301
- `huggingface-cli login`.
302
-
303
- Returns:
304
- `str` or `None`: The token, `None` if it doesn't exist.
305
- """
306
- return _get_token_from_google_colab() or _get_token_from_environment() or _get_token_from_file()
307
-
308
-
309
- def _get_token_from_google_colab() -> Optional[str]:
310
- if not is_google_colab():
311
- return None
312
-
313
- global _CHECK_GOOGLE_COLAB_SECRET
314
- if not _CHECK_GOOGLE_COLAB_SECRET: # request access only once
315
- return None
316
-
317
- try:
318
- from google.colab import userdata
319
- from google.colab.errors import Error as ColabError
320
- except ImportError:
321
- return None
322
-
323
- try:
324
- token = userdata.get("HF_TOKEN")
325
- except userdata.NotebookAccessError:
326
- # Means the user has a secret call `HF_TOKEN` and got a popup "please grand access to HF_TOKEN" and refused it
327
- # => warn user but ignore error => do not re-request access to user
328
- warnings.warn(
329
- "\nAccess to the secret `HF_TOKEN` has not been granted on this notebook."
330
- "\nYou will not be requested again."
331
- "\nPlease restart the session if you want to be prompted again."
332
- )
333
- _CHECK_GOOGLE_COLAB_SECRET = False
334
- return None
335
- except userdata.SecretNotFoundError:
336
- # Means the user did not define a `HF_TOKEN` secret => warn
337
- warnings.warn(
338
- "\nThe secret `HF_TOKEN` does not exist in your Colab secrets."
339
- "\nTo authenticate with the Hugging Face Hub, create a token in your settings tab "
340
- "(https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session."
341
- "\nYou will be able to reuse this secret in all of your notebooks."
342
- "\nPlease note that authentication is recommended but still optional to access public models or datasets."
343
- )
344
- return None
345
- except ColabError as e:
346
- # Something happen but we don't know what => recommend to open a GitHub issue
347
- warnings.warn(
348
- f"\nError while fetching `HF_TOKEN` secret value from your vault: '{str(e)}'."
349
- "\nYou are not authenticated with the Hugging Face Hub in this notebook."
350
- "\nIf the error persists, please let us know by opening an issue on GitHub "
351
- "(https://github.com/huggingface/huggingface_hub/issues/new)."
352
- )
353
- return None
354
-
355
- return _clean_token(token)
356
-
357
-
358
- def _get_token_from_environment() -> Optional[str]:
359
- # `HF_TOKEN` has priority (keep `HUGGING_FACE_HUB_TOKEN` for backward compatibility)
360
- return _clean_token(os.environ.get("HF_TOKEN") or os.environ.get("HUGGING_FACE_HUB_TOKEN"))
361
-
362
-
363
- def _get_token_from_file() -> Optional[str]:
364
- try:
365
- return _clean_token(Path(constants.HF_TOKEN_PATH).read_text())
366
- except FileNotFoundError:
367
- return None
368
-
369
-
370
- def _clean_token(token: Optional[str]) -> Optional[str]:
371
- """Clean token by removing trailing and leading spaces and newlines.
372
-
373
- If token is an empty string, return None.
374
- """
375
- if token is None:
376
- return None
377
- return token.replace("\r", "").replace("\n", "").strip() or None
378
-
379
-
380
292
  ###
381
293
  # Login private helpers
382
294
  ###
@@ -29,11 +29,11 @@ from .._login import ( # noqa: F401 # for backward compatibility # noqa: F401
29
29
  NOTEBOOK_LOGIN_PASSWORD_HTML,
30
30
  NOTEBOOK_LOGIN_TOKEN_HTML_END,
31
31
  NOTEBOOK_LOGIN_TOKEN_HTML_START,
32
- get_token,
33
32
  login,
34
33
  logout,
35
34
  notebook_login,
36
35
  )
36
+ from ..utils import get_token
37
37
  from ._cli_utils import ANSI
38
38
 
39
39
 
@@ -12,11 +12,11 @@ from urllib.parse import urlparse
12
12
  from huggingface_hub.constants import REPO_TYPES_URL_PREFIXES, REPOCARD_NAME
13
13
  from huggingface_hub.repocard import metadata_load, metadata_save
14
14
 
15
- from ._login import get_token
16
15
  from .hf_api import HfApi, repo_type_and_id_from_hf_id
17
16
  from .lfs import LFS_MULTIPART_UPLOAD_COMMAND
18
17
  from .utils import (
19
18
  SoftTemporaryDirectory,
19
+ get_token,
20
20
  logging,
21
21
  run_subprocess,
22
22
  tqdm,
@@ -40,6 +40,7 @@ from ._errors import (
40
40
  RevisionNotFoundError,
41
41
  hf_raise_for_status,
42
42
  )
43
+ from ._token import get_token
43
44
  from ._fixes import SoftTemporaryDirectory, yaml_dump
44
45
  from ._git_credential import list_credential_helpers, set_git_credential, unset_git_credential
45
46
  from ._headers import build_hf_headers, get_token_to_send, LocalTokenNotFoundError
@@ -16,7 +16,6 @@
16
16
  from typing import Dict, Optional, Union
17
17
 
18
18
  from .. import constants
19
- from .._login import get_token
20
19
  from ._runtime import (
21
20
  get_fastai_version,
22
21
  get_fastcore_version,
@@ -29,6 +28,7 @@ from ._runtime import (
29
28
  is_tf_available,
30
29
  is_torch_available,
31
30
  )
31
+ from ._token import get_token
32
32
  from ._validators import validate_hf_hub_args
33
33
 
34
34
 
@@ -0,0 +1,129 @@
1
+ # Copyright 2023 The HuggingFace Team. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ """Contains an helper to get the token from machine (env variable, secret or config file)."""
15
+ import os
16
+ import warnings
17
+ from pathlib import Path
18
+ from threading import Lock
19
+ from typing import Optional
20
+
21
+ from .. import constants
22
+ from ._runtime import is_google_colab
23
+
24
+
25
+ _IS_GOOGLE_COLAB_CHECKED = False
26
+ _GOOGLE_COLAB_SECRET_LOCK = Lock()
27
+ _GOOGLE_COLAB_SECRET: Optional[str] = None
28
+
29
+
30
+ def get_token() -> Optional[str]:
31
+ """
32
+ Get token if user is logged in.
33
+
34
+ Note: in most cases, you should use [`huggingface_hub.utils.build_hf_headers`] instead. This method is only useful
35
+ if you want to retrieve the token for other purposes than sending an HTTP request.
36
+
37
+ Token is retrieved in priority from the `HF_TOKEN` environment variable. Otherwise, we read the token file located
38
+ in the Hugging Face home folder. Returns None if user is not logged in. To log in, use [`login`] or
39
+ `huggingface-cli login`.
40
+
41
+ Returns:
42
+ `str` or `None`: The token, `None` if it doesn't exist.
43
+ """
44
+ return _get_token_from_google_colab() or _get_token_from_environment() or _get_token_from_file()
45
+
46
+
47
+ def _get_token_from_google_colab() -> Optional[str]:
48
+ """Get token from Google Colab secrets vault using `google.colab.userdata.get(...)`.
49
+
50
+ Token is read from the vault only once per session and then stored in a global variable to avoid re-requesting
51
+ access to the vault.
52
+ """
53
+ if not is_google_colab():
54
+ return None
55
+
56
+ # `google.colab.userdata` is not thread-safe
57
+ # This can lead to a deadlock if multiple threads try to access it at the same time
58
+ # (typically when using `snapshot_download`)
59
+ # => use a lock
60
+ # See https://github.com/huggingface/huggingface_hub/issues/1952 for more details.
61
+ with _GOOGLE_COLAB_SECRET_LOCK:
62
+ global _GOOGLE_COLAB_SECRET
63
+ global _IS_GOOGLE_COLAB_CHECKED
64
+
65
+ if _IS_GOOGLE_COLAB_CHECKED: # request access only once
66
+ return _GOOGLE_COLAB_SECRET
67
+
68
+ try:
69
+ from google.colab import userdata
70
+ from google.colab.errors import Error as ColabError
71
+ except ImportError:
72
+ return None
73
+
74
+ try:
75
+ token = userdata.get("HF_TOKEN")
76
+ _GOOGLE_COLAB_SECRET = _clean_token(token)
77
+ except userdata.NotebookAccessError:
78
+ # Means the user has a secret call `HF_TOKEN` and got a popup "please grand access to HF_TOKEN" and refused it
79
+ # => warn user but ignore error => do not re-request access to user
80
+ warnings.warn(
81
+ "\nAccess to the secret `HF_TOKEN` has not been granted on this notebook."
82
+ "\nYou will not be requested again."
83
+ "\nPlease restart the session if you want to be prompted again."
84
+ )
85
+ _GOOGLE_COLAB_SECRET = None
86
+ except userdata.SecretNotFoundError:
87
+ # Means the user did not define a `HF_TOKEN` secret => warn
88
+ warnings.warn(
89
+ "\nThe secret `HF_TOKEN` does not exist in your Colab secrets."
90
+ "\nTo authenticate with the Hugging Face Hub, create a token in your settings tab "
91
+ "(https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session."
92
+ "\nYou will be able to reuse this secret in all of your notebooks."
93
+ "\nPlease note that authentication is recommended but still optional to access public models or datasets."
94
+ )
95
+ _GOOGLE_COLAB_SECRET = None
96
+ except ColabError as e:
97
+ # Something happen but we don't know what => recommend to open a GitHub issue
98
+ warnings.warn(
99
+ f"\nError while fetching `HF_TOKEN` secret value from your vault: '{str(e)}'."
100
+ "\nYou are not authenticated with the Hugging Face Hub in this notebook."
101
+ "\nIf the error persists, please let us know by opening an issue on GitHub "
102
+ "(https://github.com/huggingface/huggingface_hub/issues/new)."
103
+ )
104
+ _GOOGLE_COLAB_SECRET = None
105
+
106
+ _IS_GOOGLE_COLAB_CHECKED = True
107
+ return _GOOGLE_COLAB_SECRET
108
+
109
+
110
+ def _get_token_from_environment() -> Optional[str]:
111
+ # `HF_TOKEN` has priority (keep `HUGGING_FACE_HUB_TOKEN` for backward compatibility)
112
+ return _clean_token(os.environ.get("HF_TOKEN") or os.environ.get("HUGGING_FACE_HUB_TOKEN"))
113
+
114
+
115
+ def _get_token_from_file() -> Optional[str]:
116
+ try:
117
+ return _clean_token(Path(constants.HF_TOKEN_PATH).read_text())
118
+ except FileNotFoundError:
119
+ return None
120
+
121
+
122
+ def _clean_token(token: Optional[str]) -> Optional[str]:
123
+ """Clean token by removing trailing and leading spaces and newlines.
124
+
125
+ If token is an empty string, return None.
126
+ """
127
+ if token is None:
128
+ return None
129
+ return token.replace("\r", "").replace("\n", "").strip() or None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 0.20.0rc1
3
+ Version: 0.20.2
4
4
  Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
5
5
  Home-page: https://github.com/huggingface/huggingface_hub
6
6
  Author: Hugging Face, Inc.
@@ -1,8 +1,8 @@
1
- huggingface_hub/__init__.py,sha256=tGu4xRVZcX6k3H9y7L7nzYm0TitWx6h5BSd7yLy-gpY,20813
1
+ huggingface_hub/__init__.py,sha256=ixK6-0G7PFdH1mCZ9c5g8ZuYHsxSpVo8TTuA7O0mun8,20809
2
2
  huggingface_hub/_commit_api.py,sha256=LWwx0PmTHzh-gwO6-cl0GWTrSnzCy8tfZ8DDCxnfb7Y,27795
3
3
  huggingface_hub/_commit_scheduler.py,sha256=FgfjYv3E0oK3iBxDdy45Y7t78FWkmjnBR4dRd5aZviU,13653
4
4
  huggingface_hub/_inference_endpoints.py,sha256=FW36nfm9UNNnc6L6hyL2KLiItglPGcQuYJ6DA2w4Gp4,14929
5
- huggingface_hub/_login.py,sha256=TB5zKVo5pApxV0N7G4DDHpcE7QFzPONbtdwEkDALnko,18980
5
+ huggingface_hub/_login.py,sha256=8Y_OlSayd185u5lInGvY4zeYzBKaaaMBwTJl7MhIgSE,15325
6
6
  huggingface_hub/_multi_commits.py,sha256=xEiS4N8ZmIrrDxVGS93mA33VoVrbhlAp5T8M_XQTMiA,12518
7
7
  huggingface_hub/_snapshot_download.py,sha256=-0Kpp1gG1m2Slkbyj4GhvdOZeqzDTChqMQ1TGFHNjnA,15377
8
8
  huggingface_hub/_space_api.py,sha256=Kr1rRpbMVoUs51U52KFY_FQcMA9TEC7RDCKGB4nzGus,5116
@@ -21,7 +21,7 @@ huggingface_hub/keras_mixin.py,sha256=fxVjwm742fwsLwbuNVt7Slo3KAjEX7sCcTudKnolPZ
21
21
  huggingface_hub/lfs.py,sha256=CnXzAoDyGDSsNDN4b88-7hXhx1BFSsbFY6vGc3O2lRs,19122
22
22
  huggingface_hub/repocard.py,sha256=kJGupeVIE2eQqo4sOGrUWRf6vOdkKdQtryMdZKNxqoc,34257
23
23
  huggingface_hub/repocard_data.py,sha256=ESn22o1V5ynxwQp0JSxUSzSuWE9J0KBzj9FOEITNPCo,31077
24
- huggingface_hub/repository.py,sha256=YAXM2q94k3kZvxSza4nVGm2LwpNUH9GszFXpxAz7_BM,54504
24
+ huggingface_hub/repository.py,sha256=8oNhKNvJRye3dr67cTn8faKkBSiWFgvj7bIBlOpI-8U,54489
25
25
  huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928
26
26
  huggingface_hub/commands/_cli_utils.py,sha256=VA_3cHzIlsEQmKPnfNTgJNI36UtcrxRmfB44RdbP1LA,1970
27
27
  huggingface_hub/commands/delete_cache.py,sha256=9Nn2ihdORPpkULkhAzju6aYar2rsa4laSE38rt8645I,16130
@@ -31,7 +31,7 @@ huggingface_hub/commands/huggingface_cli.py,sha256=o862C98OcZoyqCzY7mNpia1h0KaLJ
31
31
  huggingface_hub/commands/lfs.py,sha256=6E769AoRxUDiIOapn1_QvTbNtdUnUiouu2F4Gopp4do,7318
32
32
  huggingface_hub/commands/scan_cache.py,sha256=nMEJxBScezxs00EWyAvJtWCjhwxCL1YlBE6qNfiT3RY,5182
33
33
  huggingface_hub/commands/upload.py,sha256=vrac37T3sYwzaf6gpVR5qWzwh4fOhqakRvDUrLEx4Kg,13621
34
- huggingface_hub/commands/user.py,sha256=hBFUyAu4ZIQAsMNOqY6rU4z2d7D2x54Wbwm5hPn0ZsI,6878
34
+ huggingface_hub/commands/user.py,sha256=QApZJOCQEHADhjunM3hlQ72uqHsearCiCE4SdpzGdcc,6893
35
35
  huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  huggingface_hub/inference/_client.py,sha256=hhJSPBmDw5dVw1LoH2255-pX4uwMo8vHSkrhB_m54xY,86559
37
37
  huggingface_hub/inference/_common.py,sha256=8GaagYW1hoSWjilWgMdbpJU4sK78l1RPKPBsvGHpXGU,11331
@@ -41,7 +41,7 @@ huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
41
41
  huggingface_hub/inference/_generated/_async_client.py,sha256=v6CRLNY2GJz1TCzlPQVvphmeJL_OZ6yfupG2fF_WmJg,89343
42
42
  huggingface_hub/templates/datasetcard_template.md,sha256=tWvaTQhO3WkU9Igi8Odwb44my9oYKAakb2ArfnTn1AU,5502
43
43
  huggingface_hub/templates/modelcard_template.md,sha256=-z_riTFlcsX5pUja2FDd9ySGOkNy8vr6hroLct1hjJI,6874
44
- huggingface_hub/utils/__init__.py,sha256=BEj3cgx1TpjeR7d7yB_nDx_z2OqM8bx9JWcAo3bXam0,3209
44
+ huggingface_hub/utils/__init__.py,sha256=1msx7YIf9N22P92k3rcpZel2zvLqs-TsAxylD9WDavo,3239
45
45
  huggingface_hub/utils/_cache_assets.py,sha256=kai77HPQMfYpROouMBQCr_gdBCaeTm996Sqj0dExbNg,5728
46
46
  huggingface_hub/utils/_cache_manager.py,sha256=zRBo37DaHS6IDWyQ_53oCL4-U6p--inAGsC8DLtAQ_I,29103
47
47
  huggingface_hub/utils/_chunk_utils.py,sha256=6VRyjiGr2bPupPl1azSUTxKuJ51wdgELipwJ2YRfH5U,2129
@@ -51,7 +51,7 @@ huggingface_hub/utils/_errors.py,sha256=nnvanhnSqX9nQ2LvOxNI38W5mYLYVYEQLhRr89Lp
51
51
  huggingface_hub/utils/_experimental.py,sha256=rBx4gV2NU1dT_OfeRzsCmCWyIF4Wxcf0PdkmIASoT6o,2394
52
52
  huggingface_hub/utils/_fixes.py,sha256=wFvfTYj62Il2OwkQB_Qp0xONG6SARQ5oEkT3_FhB4rc,2437
53
53
  huggingface_hub/utils/_git_credential.py,sha256=NMfMmuqdub_QX3T2d32Jhpf3RBnf2eh4VnDhHoqyZRA,4595
54
- huggingface_hub/utils/_headers.py,sha256=fH4N2Uh5Q7uKShtRRLwko2JWwPEbHTmM8GQloj25ueI,9345
54
+ huggingface_hub/utils/_headers.py,sha256=wz0kPrpu9PHpeCIJAq8MBiHuR2HbNWGukd0QgWS6lWo,9344
55
55
  huggingface_hub/utils/_hf_folder.py,sha256=9FlyCbiMP-PuyR4MP8sh5wiYbphkCjP18sCma0P7XDw,4488
56
56
  huggingface_hub/utils/_http.py,sha256=qJ9wlsv-SU9L4Epr8FLHznY3COIcOrUUmGMjJXfrQvI,12889
57
57
  huggingface_hub/utils/_pagination.py,sha256=VfpmMLyNCRo24fw0o_yWysMK69d9M6sSg2-nWtuypO4,1840
@@ -60,6 +60,7 @@ huggingface_hub/utils/_runtime.py,sha256=6sMMfwixkJAJj7pqYAva9A1g3-MBNWenKtlvBB9
60
60
  huggingface_hub/utils/_safetensors.py,sha256=EE9v9HflWBUqIegn0dCGHgNu9G9Db3v2aszvG4ldPF8,4876
61
61
  huggingface_hub/utils/_subprocess.py,sha256=LW9b8TWh9rsm3pW9_5b-mVV_AtYNyLXgC6e09SthkWI,4616
62
62
  huggingface_hub/utils/_telemetry.py,sha256=jHAdgWNcL9nVvMT3ec3i78O-cwL09GnlifuokzpQjMI,4641
63
+ huggingface_hub/utils/_token.py,sha256=e3GGABkd6zPYLE4-RdUxnH6vyen4vsvNxEl2PgStiTA,5475
63
64
  huggingface_hub/utils/_typing.py,sha256=zTA0nTJAILGveXbJKyeh6u9uIagrFgPoRqr-uCEGDQI,921
64
65
  huggingface_hub/utils/_validators.py,sha256=3ZmHubjslDRwFYe1oKyaUw6DZrc3DsuV2gABPrx7PTw,9358
65
66
  huggingface_hub/utils/endpoint_helpers.py,sha256=reLS2ic6_BTe9RuZY5WLcd5dLjIWt5Klh5EHZ7XvHng,8533
@@ -67,9 +68,9 @@ huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-
67
68
  huggingface_hub/utils/logging.py,sha256=mARNwc5gY6apMQ9IM5zymn-RsYnFbYW3b0HDMYXmBS0,4729
68
69
  huggingface_hub/utils/sha.py,sha256=IVi7CfBthfu-ExLduY_CQltTy-tVGTbrvURCTOWKcLA,901
69
70
  huggingface_hub/utils/tqdm.py,sha256=zBWgoxxwHooOceABVREVqSNpJGcMpaByKFVDU8VbuUQ,6334
70
- huggingface_hub-0.20.0rc1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
71
- huggingface_hub-0.20.0rc1.dist-info/METADATA,sha256=zB_soCCA583GmX42-u7CW1q9zaJ6HN_2kVufYo-zcyc,12933
72
- huggingface_hub-0.20.0rc1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
73
- huggingface_hub-0.20.0rc1.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
74
- huggingface_hub-0.20.0rc1.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
75
- huggingface_hub-0.20.0rc1.dist-info/RECORD,,
71
+ huggingface_hub-0.20.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
+ huggingface_hub-0.20.2.dist-info/METADATA,sha256=D1vK91f8NEHzMiWLSl7_TQs6rZ6cr0E4ecRkkFB0lMM,12930
73
+ huggingface_hub-0.20.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
74
+ huggingface_hub-0.20.2.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
75
+ huggingface_hub-0.20.2.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
76
+ huggingface_hub-0.20.2.dist-info/RECORD,,