-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 1.06 KB
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 1.06 KB
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
# Local Streamlit configuration.
# Copy this file to .env on your laptop and edit the values.
# Paste the public ngrok URL printed by the Kaggle BLIP-2 notebook.
BLIP2_SERVER_URL=https://xxxx.ngrok-free.app
# Pinecone index used by the retrieval app.
PINECONE_API_KEY=YOUR_PINECONE_KEY
PINECONE_INDEX_NAME=vr-clothing-gallery
# Local copy of the dataset used by the app.
GALLERY_CSV=/absolute/path/to/version_5/gallery.csv
CAPTIONS_CSV=/absolute/path/to/version_5/blip2_captions_gallery.csv
IMAGE_ROOT=/absolute/path/to/version_5
# Multi-seed fine-tuned retrieval config from finetuned-multiseed-eval.ipynb.
FINETUNED_SEED=104
FINETUNED_ALPHA=0.7
CLIP_CHECKPOINT=/absolute/path/to/version_5/clip_best_seed104.pt
# Optional override if you want to force a custom Pinecone namespace instead
# of using the seed/alpha controls in the app sidebar.
# PINECONE_NAMESPACE=finetuned-alpha-0.7-seed104
# Optional runtime settings.
CANDIDATE_K=50
BLIP2_RERANK_K=10
BLIP2_TIMEOUT_SECONDS=180
BLIP2_HEALTH_TIMEOUT_SECONDS=180
YOLO_MODEL_PATH=yolov8n.pt
CLIP_MODEL=ViT-L-14
CLIP_PRETRAINED=openai