RedMod
commited on
Commit
·
3149dc0
1
Parent(s):
987ec44
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from openai import OpenAI
|
|
| 4 |
|
| 5 |
BASE = os.getenv("HF_ENDPOINT_URL", "").rstrip("/")
|
| 6 |
API_KEY = os.getenv("HF_TOKEN")
|
| 7 |
-
MODEL_ID = os.getenv("MODEL_ID", "
|
| 8 |
|
| 9 |
if not BASE or not API_KEY:
|
| 10 |
raise RuntimeError("Set HF_ENDPOINT_URL and HF_TOKEN in Settings → Repository secrets.")
|
|
|
|
| 4 |
|
| 5 |
BASE = os.getenv("HF_ENDPOINT_URL", "").rstrip("/")
|
| 6 |
API_KEY = os.getenv("HF_TOKEN")
|
| 7 |
+
MODEL_ID = os.getenv("MODEL_ID", "RedMod/mangrove_30b_a3b_sft_step_6000")
|
| 8 |
|
| 9 |
if not BASE or not API_KEY:
|
| 10 |
raise RuntimeError("Set HF_ENDPOINT_URL and HF_TOKEN in Settings → Repository secrets.")
|