Spaces:
Sleeping
Sleeping
Commit
Β·
8e0ac7a
1
Parent(s):
c8d880e
Update model.py
Browse files
model.py
CHANGED
@@ -6,7 +6,7 @@ from text_generation import Client
|
|
6 |
model_id = 'codellama/CodeLlama-34b-Instruct-hf'
|
7 |
|
8 |
API_URL = "https://api-inference.huggingface.co/models/" + model_id
|
9 |
-
HF_TOKEN = os.environ.get("
|
10 |
|
11 |
client = Client(
|
12 |
API_URL,
|
|
|
6 |
model_id = 'codellama/CodeLlama-34b-Instruct-hf'
|
7 |
|
8 |
API_URL = "https://api-inference.huggingface.co/models/" + model_id
|
9 |
+
HF_TOKEN = os.environ.get("HF_READ_TOKEN", None)
|
10 |
|
11 |
client = Client(
|
12 |
API_URL,
|