From 1bf32d970ff51fc7b18b14bd04f3db538046fc78 Mon Sep 17 00:00:00 2001 From: drbh Date: Tue, 28 May 2024 18:04:23 +0000 Subject: [PATCH] fix: install hf cli before upload --- .github/workflows/python-packaging.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-packaging.yaml b/.github/workflows/python-packaging.yaml index 3fdfabf3..ba660344 100644 --- a/.github/workflows/python-packaging.yaml +++ b/.github/workflows/python-packaging.yaml @@ -178,6 +178,10 @@ jobs: run: | ls dist + - name: Install Hugging Face CLI + run: | + pip install huggingface_hub + - name: Upload to Hugging Face Hub run: | export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_PRECOMPILE_TOKEN }}