We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c74d5c commit f5a676aCopy full SHA for f5a676a
scripts/deploy_to_hf.sh
@@ -45,13 +45,7 @@ cd "$REPO_ROOT"
45
46
if ! command -v hf >/dev/null 2>&1; then
47
echo "Error: huggingface-hub CLI 'hf' not found in PATH. hf is required to deploy to Hugging Face Spaces." >&2
48
-
49
- if [ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "darwin"* ]; then
50
- echo "Install the HF CLI: curl -LsSf https://hf.co/cli/install.sh | sh" >&2
51
- elif [ "$OSTYPE" == "windows"* ]; then
52
- echo "Install the HF CLI: powershell -ExecutionPolicy ByPass -c \"irm https://hf.co/cli/install.ps1 | iex\"" >&2
53
- fi
54
+ echo "Install the HF CLI: curl -LsSf https://hf.co/cli/install.sh | sh" >&2
55
exit 1
56
fi
57
0 commit comments