I am trying to connect HuggingFace model hosted on HuggingFace using HFAPI Token and Llamaindex. Here is the code below, but while running this code, it says "Did not find openai_api_key, please add an environment variable OPENAI_API_KEY which contains it, or pass openai_api_key as a ...
Expand All @@ -72,20 +72,20 @@ huggingface-cli login --token $HUGGINGFACE_TOKEN </Tip> ## 创建存储库 一旦您注册并登录,请使用 [`create_repo`] 函数创建存储库: ```py >>> from huggingface_hub import HfApi >>> api = HfApi() >>> api.create_repo(repo_id="super-cool-model")...