Ventahana commited on
Commit
849e353
·
verified ·
1 Parent(s): 420bf57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,9 +1,10 @@
1
- from smolagents import CodeAgent, InferenceClientModel
 
2
  from retriever import guest_info_tool
3
  from tools import all_tools
4
 
5
  # Initialize the Hugging Face model
6
- model = InferenceClientModel()
7
 
8
  # Combine ALL tools: Main RAG + all auxiliary tools
9
  all_agent_tools = [guest_info_tool] + all_tools
 
1
+ from smolagents import CodeAgent
2
+ from smolagents.models import HfApiModel
3
  from retriever import guest_info_tool
4
  from tools import all_tools
5
 
6
  # Initialize the Hugging Face model
7
+ model = HfApiModel("HuggingFaceTB/SmolLM-135M")
8
 
9
  # Combine ALL tools: Main RAG + all auxiliary tools
10
  all_agent_tools = [guest_info_tool] + all_tools