File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def get_version() -> str:
7474 "urllib3<2.0" , # VCR.py broken with urllib3 2.0 (see https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html)
7575 "soundfile" ,
7676 "Pillow" ,
77- "gradio" , # to test webhooks
77+ "gradio>=4.0.0 " , # to test webhooks # pin to avoid issue on Python3.12
7878 "numpy" , # for embeddings
7979 "fastapi" , # To build the documentation
8080 ]
Original file line number Diff line number Diff line change 1717 Union ,
1818)
1919
20+ import packaging .version
21+
2022from . import constants
2123from .errors import EntryNotFoundError , HfHubHTTPError
2224from .file_download import hf_hub_download
4143 import torch # type: ignore
4244
4345if is_safetensors_available ():
44- import packaging .version
4546 import safetensors
4647 from safetensors .torch import load_model as load_model_as_safetensor
4748 from safetensors .torch import save_model as save_model_as_safetensor
You can’t perform that action at this time.
0 commit comments