Clone77 commited on
Commit
4481ddb
·
verified ·
1 Parent(s): 7985812

Update pages/python.py

Browse files
Files changed (1) hide show
  1. pages/python.py +1 -1
pages/python.py CHANGED
@@ -4,7 +4,7 @@ from langchain_core.messages import HumanMessage, AIMessage, SystemMessage
4
 
5
 
6
 
7
- hf = userdata.get('hf')
8
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
9
  os.environ['HF_TOKEN'] = hf
10
  # --- Config ---
 
4
 
5
 
6
 
7
+ hf = os.get('hf')
8
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
9
  os.environ['HF_TOKEN'] = hf
10
  # --- Config ---