Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/app/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MODEL_EXPORTS_PATH = "app/models/ONNX_Exports"

# Microservice URLs
SYNC_MICROSERVICE_URL = "http://localhost:8001/api/v1"
SYNC_MICROSERVICE_URL = "http://localhost:8001"

CONFIDENCE_PERCENT = 0.6
# Object Detection Models:
Expand Down
363 changes: 0 additions & 363 deletions backend/app/utils/microservice.py

This file was deleted.

2 changes: 0 additions & 2 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from app.database.albums import db_create_album_images_table
from app.database.folders import db_create_folders_table
from app.database.metadata import db_create_metadata_table
from app.utils.microservice import microservice_util_start_sync_service

from app.routes.folders import router as folders_router
from app.routes.albums import router as albums_router
Expand Down Expand Up @@ -52,7 +51,6 @@ async def lifespan(app: FastAPI):
db_create_albums_table()
db_create_album_images_table()
db_create_metadata_table()
microservice_util_start_sync_service()
# Create ProcessPoolExecutor and attach it to app.state
app.state.executor = ProcessPoolExecutor(max_workers=1)

Expand Down
Loading
Loading