Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -137,7 +137,7 @@ tools=[
|
|
137 |
|
138 |
def create_agent():
|
139 |
agent = CodeAgent(
|
140 |
-
model = HfApiModel(),
|
141 |
tools = tools,
|
142 |
max_steps=10,
|
143 |
verbosity_level=2
|
|
|
137 |
|
138 |
def create_agent():
|
139 |
agent = CodeAgent(
|
140 |
+
model = HfApiModel(model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/'),
|
141 |
tools = tools,
|
142 |
max_steps=10,
|
143 |
verbosity_level=2
|