Shivangsinha commited on
Commit
3aa6ed2
·
verified ·
1 Parent(s): 8272bd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import inspect
5
  import pandas as pd
6
  from smolagents import (
7
  CodeAgent,
8
- HfApiModel,
9
  DuckDuckGoSearchTool,
10
  WikipediaSearchTool,
11
  PythonInterpreterTool,
@@ -29,7 +29,7 @@ def get_current_date_time() -> str:
29
  class BasicAgent:
30
  def __init__(self):
31
  print("BasicAgent initialized.")
32
- model = HfApiModel(
33
  model_id="Qwen/Qwen2.5-72B-Instruct",
34
  )
35
  tools = [
 
5
  import pandas as pd
6
  from smolagents import (
7
  CodeAgent,
8
+ InferenceClientModel,
9
  DuckDuckGoSearchTool,
10
  WikipediaSearchTool,
11
  PythonInterpreterTool,
 
29
  class BasicAgent:
30
  def __init__(self):
31
  print("BasicAgent initialized.")
32
+ model = InferenceClientModel(
33
  model_id="Qwen/Qwen2.5-72B-Instruct",
34
  )
35
  tools = [