Spaces:
Running
Running
MCP TWEAKING AFTER TESTS
Browse files- src/mcp_server/server.py +1 -1
src/mcp_server/server.py
CHANGED
|
@@ -201,7 +201,7 @@ def step_0_configuration(hf_user: str = None, hf_token: str = None, default_spac
|
|
| 201 |
Args:
|
| 202 |
hf_user: The Hugging Face username or organization (namespace) where Spaces will be deployed.
|
| 203 |
default_space: The name of the default toolbox Space to use if no specific target is provided during deployment (e.g. 'my-tools').
|
| 204 |
-
hf_token: (
|
| 205 |
"""
|
| 206 |
# Note: In a real app with multi-user, this should be session-scoped or persistent.
|
| 207 |
# Here we set env vars for the current process.
|
|
|
|
| 201 |
Args:
|
| 202 |
hf_user: The Hugging Face username or organization (namespace) where Spaces will be deployed.
|
| 203 |
default_space: The name of the default toolbox Space to use if no specific target is provided during deployment (e.g. 'my-tools').
|
| 204 |
+
hf_token: (IF OVERRIDE EXPLICITLY NEEDED) The Hugging Face Write Token. If not provided here, it must be set in the server's environment variables.
|
| 205 |
"""
|
| 206 |
# Note: In a real app with multi-user, this should be session-scoped or persistent.
|
| 207 |
# Here we set env vars for the current process.
|