Skip to content

Commit f5a676a

Browse files
committed
remove windows elif
1 parent 0c74d5c commit f5a676a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/deploy_to_hf.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,7 @@ cd "$REPO_ROOT"
4545

4646
if ! command -v hf >/dev/null 2>&1; then
4747
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-
48+
echo "Install the HF CLI: curl -LsSf https://hf.co/cli/install.sh | sh" >&2
5549
exit 1
5650
fi
5751

0 commit comments

Comments
 (0)