-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
34 lines (24 loc) · 915 Bytes
/
.env.example
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
STATE_DB_PATH=state.db
# Use vqa step for keywords - requires MODEL_VQA_HFID
ENABLE_VQA=true
VQA_PROMPTS_FILE=vqa_questions.json
# Use caption step for keywords - MODEL_BLIP_HFID
ENABLE_CAPTION=true
## vqa model for keywording
MODEL_VQA_HFID=Salesforce/blip-vqa-capfilt-large
## captioning model - can also be blip2 like Salesforce/blip2-opt-2.7b
MODEL_BLIP_HFID=Salesforce/blip-image-captioning-large
# No http/s prefix etc, just the domain[:port] -- all fields required for photoprism mode.
PHOTOPRISM_BASE_DOMAIN=
PHOTOPRISM_USERNAME=
PHOTOPRISM_PASSWORD=
# optional
PHOTOPRISM_USE_HTTPS=true
# for local dev etc, optional
PHOTOPRISM_ALLOW_SELF_SIGNED=true
# temporary storage for PP photos, required
PHOTOPRISM_DOWNLOAD_PATH=/tmp
# delete photos after processing by default, optional
PHOTOPRISM_DOWNLOAD_NO_DELETE=false
# optional - number of results for PP `search` queries
PHOTOPRISM_BATCH_SIZE=50