Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
import os
|
2 |
from langchain import hub
|
3 |
from langchain.agents import initialize_agent, AgentType, Tool
|
4 |
-
from
|
5 |
from langchain_community.tools import DuckDuckGoSearchResults
|
6 |
from langchain_experimental.tools import PythonREPLTool
|
7 |
-
from
|
8 |
-
from langchain.agents import load_tools
|
9 |
|
10 |
# Lade dein Hugging Face Token (falls benötigt)
|
11 |
from huggingface_hub import login
|
|
|
1 |
import os
|
2 |
from langchain import hub
|
3 |
from langchain.agents import initialize_agent, AgentType, Tool
|
4 |
+
from langchain_community.llms import HuggingFaceHub
|
5 |
from langchain_community.tools import DuckDuckGoSearchResults
|
6 |
from langchain_experimental.tools import PythonREPLTool
|
7 |
+
from huggingface_hub import login
|
|
|
8 |
|
9 |
# Lade dein Hugging Face Token (falls benötigt)
|
10 |
from huggingface_hub import login
|