mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
add(localai): default env values for later usage
This commit is contained in:
parent
c13a096805
commit
a7b2fb97a4
1 changed files with 41 additions and 0 deletions
|
@ -6,6 +6,47 @@ deployment:
|
||||||
THREADS: 16
|
THREADS: 16
|
||||||
CONTEXT_SIZE: 512
|
CONTEXT_SIZE: 512
|
||||||
DEBUG: "true"
|
DEBUG: "true"
|
||||||
|
|
||||||
|
## Specify a different bind address (defaults to ":8080")
|
||||||
|
# ADDRESS=127.0.0.1:8080
|
||||||
|
|
||||||
|
## Define galleries.
|
||||||
|
## models will to install will be visible in `/models/available`
|
||||||
|
#GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]
|
||||||
|
|
||||||
|
## Default path for models
|
||||||
|
#MODELS_PATH=/models
|
||||||
|
|
||||||
|
## Enable debug mode
|
||||||
|
#DEBUG=true
|
||||||
|
|
||||||
|
## Disables COMPEL (Lets Stable Diffuser work, uncomment if you plan on using it)
|
||||||
|
# COMPEL=0
|
||||||
|
|
||||||
|
## Enable/Disable single backend (useful if only one GPU is available)
|
||||||
|
# SINGLE_ACTIVE_BACKEND=true
|
||||||
|
|
||||||
|
## Specify a build type. Available: cublas, openblas, clblas.
|
||||||
|
#BUILD_TYPE=cublas
|
||||||
|
|
||||||
|
## Uncomment and set to true to enable rebuilding from source
|
||||||
|
# REBUILD=true
|
||||||
|
|
||||||
|
## Enable go tags, available: stablediffusion, tts
|
||||||
|
## stablediffusion: image generation with stablediffusion
|
||||||
|
## tts: enables text-to-speech with go-piper
|
||||||
|
## (requires REBUILD=true)
|
||||||
|
#
|
||||||
|
#GO_TAGS=tts
|
||||||
|
|
||||||
|
## Path where to store generated images
|
||||||
|
# IMAGE_PATH=/tmp
|
||||||
|
|
||||||
|
## Specify a default upload limit in MB (whisper)
|
||||||
|
# UPLOAD_LIMIT
|
||||||
|
|
||||||
|
# HUGGINGFACEHUB_API_TOKEN=Token here
|
||||||
|
|
||||||
modelsPath: "/models"
|
modelsPath: "/models"
|
||||||
download_model:
|
download_model:
|
||||||
# To use cloud provided (eg AWS) image, provide it like: 1234356789.dkr.ecr.us-REGION-X.amazonaws.com/busybox
|
# To use cloud provided (eg AWS) image, provide it like: 1234356789.dkr.ecr.us-REGION-X.amazonaws.com/busybox
|
||||||
|
|
Loading…
Reference in a new issue