Pujan-Dev commited on
Commit
f810b63
·
1 Parent(s): 49fe170

added : added the .env-example

Browse files
Files changed (1) hide show
  1. .env-example +47 -32
.env-example CHANGED
@@ -1,34 +1,49 @@
1
  MY_SECRET_TOKEN="SECRET_CODE_TOKEN"
2
 
3
- # CHROMA_HOST = "localhost" (Host gareko address rakhney)
4
-
5
-
6
- # EXAMPLE CONFIGURATIONS FOR DIFFERENT PROVIDERS(Use only one at once)
7
- # ===========================================
8
-
9
- # FOR OPENAI:(PAID)
10
- # LLM_PROVIDER=openai
11
- # LLM_API_KEY=sk-your-openai-api-key
12
- # LLM_MODEL=gpt-3.5-turbo
13
- # # Other options: gpt-4, gpt-4-turbo-preview, etc.
14
-
15
- # FOR GROQ:(FREE: BABAL XA-> prefer this)
16
- # LLM_PROVIDER=groq
17
- # LLM_API_KEY=gsk_your-groq-api-key
18
- # LLM_MODEL=llama-3.3-70b-versatile
19
- # # Other options: llama-3.1-70b-versatile, mixtral-8x7b-32768, etc.
20
-
21
- # FOR OPENROUTER:(FREE: LASTAI RATE LIMIT LAGAUXA)
22
- # LLM_PROVIDER=openrouter
23
- # LLM_API_KEY=sk-or-your-openrouter-api-key
24
- # LLM_MODEL=meta-llama/llama-3.1-8b-instruct:free
25
- # # Other options: anthropic/claude-3-haiku, google/gemma-7b-it, etc.
26
-
27
- # ===========================================
28
- # ADVANCED CONFIGURATION
29
- # ===========================================
30
- # Temperature (0.0 to 1.0) - controls randomness
31
- # LLM_TEMPERATURE=0.1
32
-
33
- # Maximum tokens for response
34
- # LLM_MAX_TOKENS=4096
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  MY_SECRET_TOKEN="SECRET_CODE_TOKEN"
2
 
3
+ # Language/text classifier models
4
+ English_model="Pujan-Dev/Ai_vs_HUMAN"
5
+ Nepali_model="features/Model/Nepali_model"
6
+ LANG_MODEL="features/Model/English_model"
7
+
8
+ # Hugging Face private model access
9
+ # Create a READ token at: https://huggingface.co/settings/tokens
10
+ HF_TOKEN="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
11
+ # Optional alias, either variable can be used
12
+ HUGGINGFACE_TOKEN="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
13
+
14
+ # Legacy variables (kept for compatibility)
15
+ REPOSITORY_ID_English_Detector="nepali-detector"
16
+ REPOSITORY_ID_Nepali_Detector="nepali-detector"
17
+
18
+ # Image classifier
19
+ IMAGE_CLASSIFIER_REPO_ID="can-org/AI-VS-HUMAN-IMAGE-classifier"
20
+ IMAGE_CLASSIFIER_MODEL_DIR="./IMG_Models"
21
+ IMAGE_CLASSIFIER_WEIGHTS_FILE="latest-my_cnn_model.h5"
22
+
23
+ # AI vs Human image detector
24
+ AI_HUMAN_CLIP_MODEL_NAME="ViT-L/14"
25
+ AI_HUMAN_SVM_REPO_ID="rhnsa/ai_human_image_detector"
26
+ AI_HUMAN_SVM_FILENAME="svm_model_real.joblib"
27
+
28
+ # Real vs Forged detector
29
+ REAL_FORGED_MODEL_REPO_ID="rhnsa/real_forged_classifier"
30
+ REAL_FORGED_MODEL_FILENAME="fft_cnn_model_78.pth"
31
+
32
+ # RAG + Chroma settings
33
+ CHROMA_HOST="localhost"
34
+ CHROMA_PORT="8000"
35
+ RAG_COLLECTION_NAME="company_docs_collection"
36
+ RAG_MAX_FILE_SIZE="104857600"
37
+ RAG_MAX_QUERY_LENGTH="1000"
38
+
39
+ # LLM settings
40
+ LLM_PROVIDER="openai"
41
+ LLM_API_KEY="sk-xxxx"
42
+ LLM_MODEL="gpt-3.5-turbo"
43
+ LLM_TEMPERATURE="0"
44
+ LLM_MAX_TOKENS="2048"
45
+
46
+ # Notebook/scraper API keys
47
+ GEMINI_API_KEY=""
48
+ GROQ_API_KEY="gsk_xxxx"
49
+ OPENROUTER_API_KEY="sk-or-xxxx"