Update agent.py
Browse files
agent.py
CHANGED
@@ -47,7 +47,7 @@ def build_agent():
|
|
47 |
# )
|
48 |
|
49 |
llm = HuggingFaceHub(repo_id="openai-community/gpt2",
|
50 |
-
task="
|
51 |
|
52 |
tools = [use_wikipedia_tool, use_search_tool]
|
53 |
|
|
|
47 |
# )
|
48 |
|
49 |
llm = HuggingFaceHub(repo_id="openai-community/gpt2",
|
50 |
+
task="text-generation")
|
51 |
|
52 |
tools = [use_wikipedia_tool, use_search_tool]
|
53 |
|