Spaces:
Runtime error
Runtime error
alfonsovelp
commited on
Commit
•
f56e2b5
1
Parent(s):
a87ee72
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
3 |
from huggingface_hub import InferenceClient
|
4 |
|
5 |
# Environment variable for HF token
|
6 |
-
hf_token =
|
7 |
|
8 |
# Your model ID
|
9 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
|
3 |
from huggingface_hub import InferenceClient
|
4 |
|
5 |
# Environment variable for HF token
|
6 |
+
hf_token = os.environ.get("HF_TOKEN")
|
7 |
|
8 |
# Your model ID
|
9 |
model_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|