AksharaSachin commited on
Commit
7715eb9
·
verified ·
1 Parent(s): 0f167bf

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -47,7 +47,7 @@ def build_agent():
47
  # )
48
 
49
  llm = HuggingFaceHub(repo_id="openai-community/gpt2",
50
- task="text2text-generation")
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