speech-analysis / app /utils /constants.py
jaykishan-b's picture
Updated: audio directory
29b3fb4
raw
history blame
450 Bytes
import os
APP_NAME = "Speech Analysis"
APP_DESCRIPTION = "Speech Analysis ML Inference API"
APP_VERSION = "v1"
API_BASE = "/"
API_PREFIX = "/api/" + APP_VERSION
BASE_PATH = os.path.dirname(os.path.abspath(__file__)).split("/app")[0]
UPLOAD_DIR = os.path.join("/tmp", "audio")
STATIC_DIR = os.path.join(BASE_PATH, "app", "static")
API_READINESS = "/readiness"
API_LIVENESS = "/liveness"
OPENAPI_URL = API_BASE + "openapi.json"
DOCS_URL = API_BASE