lopera47 commited on
Commit
2ef719f
·
verified ·
1 Parent(s): bdd50d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -37,14 +37,13 @@ class BasicAgent:
37
  print("BasicAgent initialized.")
38
 
39
  # Initialize the Agent with a text generation model (Falcon 7B instruct)
40
- model = InferenceClientModel(
 
 
41
  model_name="tiiuae/falcon-7b-instruct",
42
  temperature=0,
43
  max_new_tokens=512
44
- )
45
- self.agent = CodeAgent(
46
- tools=[DuckDuckGoSearchTool()],
47
- model=model
48
  )
49
 
50
 
 
37
  print("BasicAgent initialized.")
38
 
39
  # Initialize the Agent with a text generation model (Falcon 7B instruct)
40
+ self.agent = CodeAgent(
41
+ tools=[DuckDuckGoSearchTool()],
42
+ model=InferenceClientModel(
43
  model_name="tiiuae/falcon-7b-instruct",
44
  temperature=0,
45
  max_new_tokens=512
46
+ )
 
 
 
47
  )
48
 
49