Skip to content

Cleanup: dead env vars (MODEL_PATHs, EXPO_ACCESS_TOKEN) #38

Description

@Alimedhat000

Summary

Several environment variables are configured in .env files but referenced nowhere in code — leftovers from removed functionality.

Evidence

  • TREMOR_MODEL_PATH, DRAWING_MODEL_PATH, SPEECH_MODEL_PATH exist in root .env.example and docker/.env.docker, but rg -n "MODEL_PATH" *.py returns nothing. Models load weights by relative path from ml/_FINAL_SCRIPTS/weights (ml/predictor.py).
  • EXPO_ACCESS_TOKEN exists in docker/.env.docker but no code references it — leftover from the deleted Expo/mobile-event push channel.

Suggested fix

Remove the unused keys from .env.example, docker/.env.example, and the local docker/.env.docker (never commit .env.docker values — it's gitignored). Keep the removal out of .env.docker's committed copy only if something external (deploy env on the Oracle VM) still sets them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions