Image2Caption / docker-compose.yml
khushalcodiste's picture
fix: added
da2a069
raw
history blame contribute delete
319 Bytes
services:
img3txt:
build: .
ports:
- "7860:7860"
environment:
- PORT=7860
- DEFAULT_MAX_TOKENS=64
- MAX_IMAGE_SIDE=896
- MAX_MAX_TOKENS=256
- MODEL_ID=microsoft/Florence-2-base
- MODEL_REVISION=5ca5edf5bd017b9919c05d08aebef5e4c7ac3bac
restart: unless-stopped