AjithBharadwaj commited on
Commit
b02c74c
·
verified ·
1 Parent(s): 3cc4f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,7 +11,8 @@ from langchain_community.embeddings import HuggingFaceBgeEmbeddings
11
  from langchain_huggingface import HuggingFaceEndpoint
12
 
13
 
14
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
 
15
 
16
 
17
 
 
11
  from langchain_huggingface import HuggingFaceEndpoint
12
 
13
 
14
+ HUGGINGFACEHUB_API_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN')
15
+ # os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
16
 
17
 
18