neuralbroker commited on
Commit
b81277f
·
verified ·
1 Parent(s): b0bcd7a

Upload .env.example with huggingface_hub

Browse files
Files changed (1) hide show
  1. .env.example +39 -0
.env.example ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BlitzKode Server Configuration
2
+ # Copy this file to .env and fill in values
3
+
4
+ # Model path (default: blitzkode.gguf)
5
+ BLITZKODE_MODEL_PATH=blitzkode.gguf
6
+
7
+ # Frontend path (default: frontend/index.html)
8
+ BLITZKODE_FRONTEND_PATH=frontend/index.html
9
+
10
+ # Server host and port
11
+ BLITZKODE_HOST=0.0.0.0
12
+ BLITZKODE_PORT=7860
13
+
14
+ # GPU layers (0 = CPU only, set higher if GPU available)
15
+ BLITZKODE_GPU_LAYERS=0
16
+
17
+ # CPU threads for inference
18
+ BLITZKODE_THREADS=8
19
+
20
+ # Context window size
21
+ BLITZKODE_N_CTX=2048
22
+
23
+ # Batch size
24
+ BLITZKODE_BATCH=128
25
+
26
+ # Max prompt length in characters
27
+ BLITZKODE_MAX_PROMPT_LENGTH=4000
28
+
29
+ # Worker threads for concurrent requests
30
+ BLITZKODE_WORKERS=2
31
+
32
+ # Preload model on startup (true/false)
33
+ BLITZKODE_PRELOAD_MODEL=false
34
+
35
+ # CORS origins (comma-separated, * for all)
36
+ BLITZKODE_CORS_ORIGINS=*
37
+
38
+ # API key for authentication (leave empty to disable)
39
+ BLITZKODE_API_KEY=