AksharaSachin commited on
Commit
84efb5a
·
verified ·
1 Parent(s): 7715eb9

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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="openai-community/gpt2",
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]