Gregor Betz commited on
Commit
a0148a0
·
unverified ·
1 Parent(s): 3b07048
Files changed (1) hide show
  1. backend/models.py +1 -1
backend/models.py CHANGED
@@ -57,7 +57,7 @@ class LazyHuggingFaceEndpoint(HuggingFaceEndpoint):
57
  raise ImportError(msg) # noqa: B904
58
 
59
  huggingfacehub_api_token = get_from_dict_or_env(
60
- values, "huggingfacehub_api_token", "HUGGINGFACEHUB_API_TOKEN"
61
  )
62
 
63
  values["client"] = InferenceClient(
 
57
  raise ImportError(msg) # noqa: B904
58
 
59
  huggingfacehub_api_token = get_from_dict_or_env(
60
+ values, "huggingfacehub_api_token", "HF_TOKEN"
61
  )
62
 
63
  values["client"] = InferenceClient(