abidlabs HF staff commited on
Commit
c16d4f4
1 Parent(s): 0ba7762

Update maker.py

Browse files
Files changed (1) hide show
  1. maker.py +1 -1
maker.py CHANGED
@@ -4,7 +4,7 @@ import json
4
  import huggingface_hub
5
  from huggingface_hub import HfApi
6
 
7
- HF_TOKEN = "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"
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/"