Spaces:
Paused
Paused
ggsmith842 commited on
Commit ·
165fca1
1
Parent(s): 5f6b738
add inference provider
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ try:
|
|
| 16 |
)
|
| 17 |
tools = mcp_client.get_tools()
|
| 18 |
|
| 19 |
-
model = InferenceClientModel(token=token)
|
| 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(
|