Skip to content

Commit

Permalink
disable summarization for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Sep 13, 2024
1 parent 2c0d378 commit 04ae5c2
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,36 +142,36 @@ jobs:
asset_name: chicago_council.db.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
asset_content_type: application/zip # required by GitHub API

summaries:
# The type of runner that the job will run on
runs-on: ubuntu-latest
needs: scrape
# summaries:
# # The type of runner that the job will run on
# runs-on: ubuntu-latest
# needs: scrape

defaults:
run:
working-directory: ./bill_summarize
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo add-apt-repository --yes ppa:alex-p/tesseract-ocr5
sudo apt-get update
sudo apt-get install -y tesseract-ocr poppler-utils
pip install --upgrade pip
pip install -r requirements.txt
python3 -m spacy download en_core_web_sm
- name: run pipeline
env:
DATABASE_URL: ${{ secrets.DB_CONNECTION_STRING }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
make update_summaries_db
make summaries.csv
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
add: bill_summarize/summaries.csv
message: 'update summary'
# defaults:
# run:
# working-directory: ./bill_summarize
# steps:
# - uses: actions/checkout@v3
# - name: install dependencies
# run: |
# sudo add-apt-repository --yes ppa:alex-p/tesseract-ocr5
# sudo apt-get update
# sudo apt-get install -y tesseract-ocr poppler-utils
# pip install --upgrade pip
# pip install -r requirements.txt
# python3 -m spacy download en_core_web_sm
# - name: run pipeline
# env:
# DATABASE_URL: ${{ secrets.DB_CONNECTION_STRING }}
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# run: |
# make update_summaries_db
# make summaries.csv
# - name: Commit changes
# uses: EndBug/add-and-commit@v7
# with:
# add: bill_summarize/summaries.csv
# message: 'update summary'



Expand Down

0 comments on commit 04ae5c2

Please sign in to comment.