zonca commited on
Commit
f490c61
·
1 Parent(s): 563885e

use model

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,8 +30,7 @@ class MyAgent:
30
  def __init__(self):
31
  print("MyAgent initialized.")
32
  self.tools = [DuckDuckGoSearchTool()]
33
- # Use the specified model
34
- self.model = HfApiModel(repo_id="HuggingFaceH4/zephyr-7b-beta")
35
  self.agent = CodeAgent(tools=self.tools, model=self.model)
36
 
37
  def __call__(self, question: str) -> str:
 
30
  def __init__(self):
31
  print("MyAgent initialized.")
32
  self.tools = [DuckDuckGoSearchTool()]
33
+ self.model = HfApiModel(model="HuggingFaceH4/zephyr-7b-beta")
 
34
  self.agent = CodeAgent(tools=self.tools, model=self.model)
35
 
36
  def __call__(self, question: str) -> str: