Update agent.py
Browse files
agent.py
CHANGED
@@ -15,9 +15,9 @@ from langchain_core.messages import SystemMessage, HumanMessage
|
|
15 |
from langchain_core.tools import tool
|
16 |
#from langchain.tools.retriever import create_retriever_tool
|
17 |
#from supabase.client import Client, create_client
|
18 |
-
from huggingface_hub import login
|
19 |
|
20 |
-
login
|
|
|
21 |
|
22 |
load_dotenv()
|
23 |
|
|
|
15 |
from langchain_core.tools import tool
|
16 |
#from langchain.tools.retriever import create_retriever_tool
|
17 |
#from supabase.client import Client, create_client
|
|
|
18 |
|
19 |
+
from huggingface_hub import login
|
20 |
+
login(token=HF_TOKEN)
|
21 |
|
22 |
load_dotenv()
|
23 |
|