Tonic commited on
Commit
0c37b52
1 Parent(s): de59cef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
  import transformers
6
  from transformers import AutoTokenizer, AutoModelForCausalLM
7
 
8
- hf_token = os.getenv("HuggingFace_Token")
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