From 2f6bfc463e7482c36897f57216ca5688870f72b1 Mon Sep 17 00:00:00 2001 From: Seanghay Yath Date: Sat, 3 Feb 2024 21:09:41 +0700 Subject: [PATCH] ci --- .github/workflows/build_cog.yml | 14 ++++++++++++++ cog.yaml | 4 +--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_cog.yml b/.github/workflows/build_cog.yml index c0f71ee..71a865d 100644 --- a/.github/workflows/build_cog.yml +++ b/.github/workflows/build_cog.yml @@ -10,11 +10,25 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + android: false + dotnet: false + haskell: false + large-packages: true + docker-images: true + swap-storage: true + - name: Check out code uses: actions/checkout@v3 - name: Setup Cog uses: replicate/setup-cog@v1 + + - name: download weight + run: curl -L https://huggingface.co/spaces/seanghay/KLEA/resolve/main/G_60000.pth -o G_60000.pth - name: Build run: | diff --git a/cog.yaml b/cog.yaml index d877835..7d003eb 100644 --- a/cog.yaml +++ b/cog.yaml @@ -11,6 +11,4 @@ build: - Unidecode - gradio - khmernormalizer - - monotonic-align - run: - - curl -L https://huggingface.co/spaces/seanghay/KLEA/resolve/main/G_60000.pth -o G_60000.pth \ No newline at end of file + - monotonic-align \ No newline at end of file