Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 768 Bytes
61d29fc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # Databricks App Configuration
# See: https://docs.databricks.com/en/dev-tools/databricks-apps/index.html
command:
- "uvicorn"
- "api.app:app"
- "--host"
- "0.0.0.0"
- "--port"
- "8000"
env:
- name: DATABRICKS_HOST
valueFrom:
databricksSecret:
key: host
scope: oral-health-app
- name: DATABRICKS_TOKEN
valueFrom:
databricksSecret:
key: token
scope: oral-health-app
- name: OPENAI_API_KEY
valueFrom:
databricksSecret:
key: openai_key
scope: oral-health-app
resources:
- name: policy-classifier-endpoint
modelServing:
endpoint: policy-classifier-prod
- name: sentiment-analyzer-endpoint
modelServing:
endpoint: sentiment-analyzer-prod
port: 8000
|