Spaces:
Sleeping
Sleeping
Update pages/python.py
Browse files- pages/python.py +1 -1
pages/python.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
| 4 |
from langchain_core.messages import HumanMessage, SystemMessage
|
| 5 |
|
| 6 |
-
hf = os.getenv('
|
| 7 |
os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
|
| 8 |
os.environ['HF_TOKEN'] = hf
|
| 9 |
|
|
|
|
| 3 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
| 4 |
from langchain_core.messages import HumanMessage, SystemMessage
|
| 5 |
|
| 6 |
+
hf = os.getenv('HF_TOKEN')
|
| 7 |
os.environ['HUGGINGFACEHUB_API_TOKEN'] = hf
|
| 8 |
os.environ['HF_TOKEN'] = hf
|
| 9 |
|