Skip to content

Commit 8b9a3a8

Browse files
committed
Configure default related models for new projects (#905)
* feat: configure default related models with new projects * feat: allow specifying which pipelines are enabled by default * feat: add denmark/uk model to default pipelines * feat: add tests for default enabled pipelines * chore: rename default station * fix: undefined variables in certain cases * chore: cleanup typos and comments * Update ami/ml/models/processing_service.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: live processing endpoint URL
1 parent d4f7047 commit 8b9a3a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.envs/.production/.django-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ WEB_CONCURRENCY=4
5656

5757
# Default processing service
5858
DEFAULT_PROCESSING_SERVICE_NAME="AMI Data Companion"
59-
DEFAULT_PROCESSING_SERVICE_ENDPOINT=http://ml.antenna.insectai.org/
59+
DEFAULT_PROCESSING_SERVICE_ENDPOINT=https://ml.antenna.insectai.org/
6060
DEFAULT_PIPELINES_ENABLED=global_moths_2024,quebec_vermont_moths_2023,panama_moths_2023,uk_denmark_moths_2023

ami/ml/models/processing_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def create_pipelines(
117117
logger.info(
118118
f"Pipeline '{pipeline.name}' (slug: {pipeline.slug}, version: {pipeline.version}) "
119119
f"{'created' if created else 'updated'}, "
120-
f"applied to {projects.count()} projects."
120+
f"applied to {projects.count()} projects. "
121121
f"pipelines enabled: {enable_only if enable_only else 'all'}"
122122
)
123123
pipeline.save()

0 commit comments

Comments
 (0)