Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -152,10 +152,6 @@ def launch_mcp_server(openapi_spec_url, api_base_url, paths, methods, auth_token
|
|
152 |
paths = None
|
153 |
else:
|
154 |
paths = f"[\"{paths}\"]"
|
155 |
-
if not auth_token:
|
156 |
-
auth_token = None
|
157 |
-
else:
|
158 |
-
auth_token = f"[\"{auth_token}\"]"
|
159 |
create_hf_space(
|
160 |
oauth_token.token,
|
161 |
space_name_box,
|
|
|
152 |
paths = None
|
153 |
else:
|
154 |
paths = f"[\"{paths}\"]"
|
|
|
|
|
|
|
|
|
155 |
create_hf_space(
|
156 |
oauth_token.token,
|
157 |
space_name_box,
|