Environment Variables
A reference for constants and environment variables used by DeGirum Tools.
Last updated
Was this helpful?
A reference for constants and environment variables used by DeGirum Tools.
Last updated
Was this helpful?
Environment variables supply defaults to scripts and applications built with DeGirum Tools. Storing environment variables in an .env
or env.ini
file automatically supplies default values.
AISERVER_HOSTNAME_OR_IP
Address of an AI Server on your LAN for local inference. Used when dg.LOCAL
, @local
, or AI Server backends are selected.
localhost
, 192.168.0.101
CLOUD_ZOO_URL
Path to a model zoo on AI Hub or your own storage. Defaults to degirum/public
if unset.
degirum/degirum
, degirum/public
DEGIRUM_CLOUD_TOKEN
API token for accessing AI Hub model zoos. Required when connecting with the dg.CLOUD
or @cloud
backend.
Access token generated on the AI Hub. for instructions on how to create an access token.
MODEL_ZOO_URL
Path or URL to a model zoo. Overrides the default zoo location if set.
/path/to/local/zoo
, https://hub.degirum.com/my_organization/my_zoo
AUDIO_ID
Microphone index or WAV file path.
0
, input.wav
CAMERA_ID
Camera index or video path to capture video streams.
0
, rtsp://host/stream
S3_ACCESS_KEY
Access key for MinIO or other S3 compatible object storage.
minio-access-key
S3_SECRET_KEY
Secret key for object storage services.
minio-secret-key