Spaces:
Running on CPU Upgrade
fix: Updated the huggingface_hub to 1.21.0 to fix the click issue
Browse filesHF issue: https://github.com/huggingface/huggingface_hub/issues/4271
```
% uvx --from huggingface_hub==1.8.0 hf version
Installed 21 packages in 17ms
Traceback (most recent call last):
File "/Users/ark/.cache/uv/archive-v0/aaFt7i-pS-TJX4t6uD4aV/bin/hf", line 6, in <module>
from huggingface_hub.cli.hf import main
File "/Users/ark/.cache/uv/archive-v0/aaFt7i-pS-TJX4t6uD4aV/lib/python3.12/site-packages/huggingface_hub/cli/hf.py", line 22, in <module>
from huggingface_hub.cli._cli_utils import check_cli_update, fallback_typer_group_factory, typer_factory
File "/Users/ark/.cache/uv/archive-v0/aaFt7i-pS-TJX4t6uD4aV/lib/python3.12/site-packages/huggingface_hub/cli/_cli_utils.py", line 27, in <module>
import click
ModuleNotFoundError: No module named 'click'
```
|
@@ -244,7 +244,7 @@ fi
|
|
| 244 |
|
| 245 |
export PATH="$HOME/.local/bin:$PATH"
|
| 246 |
|
| 247 |
-
uv tool install 'huggingface_hub==1.
|
| 248 |
hf version
|
| 249 |
|
| 250 |
# Downloading the input data
|
|
|
|
| 244 |
|
| 245 |
export PATH="$HOME/.local/bin:$PATH"
|
| 246 |
|
| 247 |
+
uv tool install 'huggingface_hub==1.21.0' --python '>=3.9'
|
| 248 |
hf version
|
| 249 |
|
| 250 |
# Downloading the input data
|