Skip to content

Commit f2872ad

Browse files
committed
rephrase
1 parent 5c3a252 commit f2872ad

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

utils/hf/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ uvx hf auth whoami
3939
uvx hf download MiniMaxAI/MiniMax-M2
4040
```
4141

42-
This provides a cleaner alternative to `uvx --from huggingface_hub huggingface-cli`.
43-
4442
## Note
4543

4644
The legacy `hf` package (which provided a Mapping interface to HuggingFace) has been moved to [hfdol](https://pypi.org/project/hfdol/).

utils/hf/hf/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
raise ImportError(
2-
"The 'hf' package only provides a CLI entry point. "
3-
"It cannot be imported. Please install 'huggingface_hub' instead:\n\n"
4-
" pip install huggingface_hub\n"
2+
"The 'hf' package only provides a CLI entry point. It cannot be imported. Please import 'huggingface_hub' instead."
53
)

0 commit comments

Comments
 (0)