Spaces:
Sleeping
Sleeping
Gregor Betz
commited on
HF_TOKEN
Browse files- 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", "
|
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(
|