Anshini commited on
Commit
f459124
·
verified ·
1 Parent(s): 07578c1

Update pages/machine_learning.py

Browse files
Files changed (1) hide show
  1. pages/machine_learning.py +1 -1
pages/machine_learning.py CHANGED
@@ -4,7 +4,7 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
4
  from langchain_core.messages import HumanMessage, SystemMessage
5
 
6
  # Set Hugging Face tokens
7
- hf = os.getenv('DataScience_Chatbot')
8
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
9
  os.environ['HF_TOKEN'] = hf
10
 
 
4
  from langchain_core.messages import HumanMessage, SystemMessage
5
 
6
  # Set Hugging Face tokens
7
+ hf = os.getenv('HF_TOKEN')
8
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
9
  os.environ['HF_TOKEN'] = hf
10