Spaces:
Sleeping
Sleeping
token
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ try:
|
|
| 10 |
)
|
| 11 |
tools = mcp_client.get_tools()
|
| 12 |
|
| 13 |
-
model = InferenceClientModel(token=os.getenv("
|
| 14 |
agent = CodeAgent(tools=[*tools], model=model)
|
| 15 |
|
| 16 |
demo = gr.ChatInterface(
|
|
|
|
| 10 |
)
|
| 11 |
tools = mcp_client.get_tools()
|
| 12 |
|
| 13 |
+
model = InferenceClientModel(token=os.getenv("HUGGINGFACE_API_TOKEN"))
|
| 14 |
agent = CodeAgent(tools=[*tools], model=model)
|
| 15 |
|
| 16 |
demo = gr.ChatInterface(
|