qwikQ8 commited on
Commit
9cbdba8
·
verified ·
1 Parent(s): 5d7d0a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
27
  # from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
28
 
29
  # # Initialize the DuckDuckGo search tool
30
- # search_tool = DuckDuckGoSearchTool()
31
 
32
  # # Example usage
33
  # results = search_tool("Who's the current President of France?")
@@ -104,7 +104,7 @@ model = HfApiModel(
104
  #max_tokens=2096,
105
  temperature=0.5,
106
  #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
107
- model_id="meta-llama/Llama-3.3-70B-Instruct",
108
  #custom_role_conversions=None,
109
  )
110
 
 
27
  # from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
28
 
29
  # # Initialize the DuckDuckGo search tool
30
+ search_tool = DuckDuckGoSearchTool()
31
 
32
  # # Example usage
33
  # results = search_tool("Who's the current President of France?")
 
104
  #max_tokens=2096,
105
  temperature=0.5,
106
  #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
107
+ model_id="meta-llama/Llama-3.2-3B-Instruct", #"meta-llama/Llama-3.3-70B-Instruct",
108
  #custom_role_conversions=None,
109
  )
110