Add HUGGINGFACE_TOKEN passthrough for clip/blip and update .env.example
This commit is contained in:
@@ -51,6 +51,7 @@ services:
|
||||
environment:
|
||||
- MODEL_NAME=ViT-B-32
|
||||
- MODEL_PRETRAINED=openai
|
||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
||||
|
||||
blip:
|
||||
build:
|
||||
@@ -59,6 +60,7 @@ services:
|
||||
environment:
|
||||
#- BLIP_MODEL=Salesforce/blip-image-captioning-base
|
||||
- BLIP_MODEL=Salesforce/blip-image-captioning-small
|
||||
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
|
||||
|
||||
yolo:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user