Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import json
|
|
5 |
import transformers
|
6 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
7 |
|
8 |
-
hf_token = os.getenv("
|
9 |
vapi_url = "https://api-inference.huggingface.co/models/vectara/hallucination_evaluation_model"
|
10 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
11 |
|
|
|
5 |
import transformers
|
6 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
7 |
|
8 |
+
hf_token = os.getenv("HF_AUTH_TOKEN")
|
9 |
vapi_url = "https://api-inference.huggingface.co/models/vectara/hallucination_evaluation_model"
|
10 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
11 |
|