ysharma HF staff commited on
Commit
8ecc4c6
1 Parent(s): 12dce38

update api key

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -11,8 +11,7 @@ from langchain.embeddings.openai import OpenAIEmbeddings
11
  from langchain.vectorstores.faiss import FAISS
12
  import pickle
13
 
14
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
15
-
16
  model_name = "sentence-transformers/all-mpnet-base-v2"
17
  hf = HuggingFaceEmbeddings(model_name=model_name)
18
 
 
11
  from langchain.vectorstores.faiss import FAISS
12
  import pickle
13
 
14
+ HUGGINGFACEHUB_API_TOKEN = os.environ["HUGGINGFACEHUB_API_TOKEN"]
 
15
  model_name = "sentence-transformers/all-mpnet-base-v2"
16
  hf = HuggingFaceEmbeddings(model_name=model_name)
17