Spaces:
Build error
Build error
Update app.py
Browse files9 unmodified lines101112131415169 unmodified lines# --- Define Agent ---class SmolAgentWrapper:def __init__(self):self.model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct", provider="together") # Uses flan-t5-base via HF Inference APIself.tools = [DuckDuckGoSearchTool()] # You can add more tools hereself.agent = CodeAgent(model=self.model, tools=self.tools)9 unmodified lines101112131415169 unmodified lines# --- Define Agent ---class SmolAgentWrapper:def __init__(self):self.model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") # Uses flan-t5-base via HF Inference APIself.tools = [DuckDuckGoSearchTool()] # You can add more tools hereself.agent = CodeAgent(model=self.model, tools=self.tools)
app.py+1-1