Spaces:
Paused
Paused
ggsmith842
commited on
Commit
·
5a898ac
1
Parent(s):
9b1055b
add inf provider
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ try:
|
|
16 |
)
|
17 |
tools = mcp_client.get_tools()
|
18 |
|
19 |
-
model = InferenceClientModel(
|
20 |
agent = CodeAgent(tools=[*tools], model=model)
|
21 |
|
22 |
demo = gr.ChatInterface(
|
|
|
16 |
)
|
17 |
tools = mcp_client.get_tools()
|
18 |
|
19 |
+
model = InferenceClientModel(provider="hf-inference", token=token)
|
20 |
agent = CodeAgent(tools=[*tools], model=model)
|
21 |
|
22 |
demo = gr.ChatInterface(
|