Update agent.py
Browse files
agent.py
CHANGED
@@ -46,7 +46,7 @@ def build_agent():
|
|
46 |
# huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
47 |
# )
|
48 |
|
49 |
-
llm = HuggingFaceHub(repo_id="
|
50 |
task="text-generation")
|
51 |
|
52 |
tools = [use_wikipedia_tool, use_search_tool]
|
|
|
46 |
# huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
47 |
# )
|
48 |
|
49 |
+
llm = HuggingFaceHub(repo_id="distilbert/distilgpt2",
|
50 |
task="text-generation")
|
51 |
|
52 |
tools = [use_wikipedia_tool, use_search_tool]
|