Skip to content

Commit

Permalink
some edits
Browse files Browse the repository at this point in the history
refactor: remove unused files and update configurations

- Deleted `legal_acts_articles.csv` and `naive_summarizer.py`.
- Updated `docker-compose.yml` to remove unused CUDA environment variable.
- Modified `next.config.mjs` to include additional image domains.
- Added `ActSection` model in `admin.py` and updated related migrations.
- Adjusted `VectorizedModel` to change embedding dimensions and summary field.
- Updated database settings in `settings.py` for better configuration.

Removed all views and optimized docker infrastructure
  • Loading branch information
Michal Skibinski authored and miskibin committed Nov 1, 2024
1 parent f03fbd5 commit be98e30
Show file tree
Hide file tree
Showing 34 changed files with 13,124 additions and 967 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cloudflare.ini
# production
/build
/sejm-stats-*.json
# misc
src/sejm-stats-439117-39efc9d2f8b8.json
.DS_Store
*.pem

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ services:

environment:
- C_FORCE_ROOT=true
- CUDA=${CUDA:-false}
env_file:
- .env
mem_limit: 4g
Expand Down
2 changes: 1 addition & 1 deletion frontend/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const nextConfig = {
},
output: 'standalone',
images: {
domains: ['localhost'],
domains: ['localhost', "sejm-stats.pl", "api.sejm.gov.pl"],
},
};

Expand Down
Loading

0 comments on commit be98e30

Please sign in to comment.