Spaces:
Running
Running
Update maker.py
Browse files
maker.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
4 |
import huggingface_hub
|
5 |
from huggingface_hub import HfApi
|
6 |
|
7 |
-
HF_TOKEN = "
|
8 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|
9 |
|
10 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|
|
|
4 |
import huggingface_hub
|
5 |
from huggingface_hub import HfApi
|
6 |
|
7 |
+
HF_TOKEN = os.environ["HF_TOKEN"]
|
8 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|
9 |
|
10 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|