Spaces:
Build error
Build error
Update app.py
Browse files9 unmodified lines10111213131415169 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 API self.model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") # Uses flan-t5-base via HF Inference API self.tools = [DuckDuckGoSearchTool()] # You can add more tools here self.agent = CodeAgent(model=self.model, tools=self.tools)
app.py+1-1