From 5de17c135c41234fb8c413bc2c48ea74abbb6b52 Mon Sep 17 00:00:00 2001 From: akanksha Date: Sat, 20 Apr 2024 21:17:19 +0530 Subject: [PATCH] update --- .github/workflows/actions.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9d3ba7a..d16f265 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -3,9 +3,9 @@ name: Run Scripts on: schedule: # Run newday.py every day. - - cron: '59 13 * * *' + - cron: '50 15 * * *' # Run update_BoW.py every day - - cron: '30 14 * * *' + - cron: '30 16 * * *' jobs: build: @@ -27,13 +27,20 @@ jobs: - name: Install Python packages run: | python -m pip install --upgrade pip - pip install -r requirements.txt + python -m pip install torch torchvision torchaudio + + - name: Install NLTK dependencies + run: | + python -m nltk.downloader stopwords punkt + + - name: Install other requirements + run: pip install -r requirements.txt - name: Execute newday.py run: python project/newday.py - name: Execute update_BoW.py (every day) - if: ${{github.event.cron == '20 14 * * *' }} + if: ${{github.event.cron == '30 16 * * *' }} run: python update_BoW.py - name: Commit files