Update config.py
Browse files
config.py
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
-
# Hugging Face Token – not required for public models like
|
| 4 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 5 |
if HF_TOKEN == "":
|
| 6 |
HF_TOKEN = None # Normalize empty string to None
|
| 7 |
|
| 8 |
-
# ✅
|
| 9 |
-
MODEL_ID = os.getenv("MODEL_ID", "
|
| 10 |
|
| 11 |
# Paths and Settings
|
| 12 |
TEMP_DIR = os.getenv("TEMP_DIR", "/tmp") # Temporary storage (screenshots, temp files, etc.)
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
+
# Hugging Face Token – not required for public models like Mistral
|
| 4 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 5 |
if HF_TOKEN == "":
|
| 6 |
HF_TOKEN = None # Normalize empty string to None
|
| 7 |
|
| 8 |
+
# ✅ Use Mistral 7B Instruct (open-access, no gating)
|
| 9 |
+
MODEL_ID = os.getenv("MODEL_ID", "mistralai/Mistral-7B-Instruct")
|
| 10 |
|
| 11 |
# Paths and Settings
|
| 12 |
TEMP_DIR = os.getenv("TEMP_DIR", "/tmp") # Temporary storage (screenshots, temp files, etc.)
|