Spaces:
Sleeping
Sleeping
Create .env
Browse files
.env
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Model Configuration
|
| 2 |
+
MODEL_NAME="codellama/CodeLlama-34b-Instruct-hf"
|
| 3 |
+
DEVICE="cuda" # or "cpu" if no GPU available
|
| 4 |
+
|
| 5 |
+
# Database Configuration
|
| 6 |
+
DATABASE_URL="postgresql://user:password@localhost:5432/dbname"
|
| 7 |
+
MONGODB_URL="mongodb://localhost:27017"
|
| 8 |
+
|
| 9 |
+
# Security
|
| 10 |
+
SECRET_KEY="your-secret-key-here"
|
| 11 |
+
ALGORITHM="HS256"
|
| 12 |
+
|
| 13 |
+
# API Configuration
|
| 14 |
+
API_V1_PREFIX="/api/v1"
|
| 15 |
+
|
| 16 |
+
# Hugging Face
|
| 17 |
+
HF_TOKEN="your-hugging-face-token"
|