Update app.py
Browse files
app.py
CHANGED
|
@@ -15,17 +15,6 @@ from utils.utils import (
|
|
| 15 |
|
| 16 |
SPACE_ID = os.environ.get("SPACE_ID")
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
SPACE_ID = os.getenv("SPACE_ID") # e.g. "username/my-space"
|
| 20 |
-
SPACE_AUTHOR_NAME = os.getenv("SPACE_AUTHOR_NAME") # e.g. "username"
|
| 21 |
-
SPACE_REPO_NAME = os.getenv("SPACE_REPO_NAME") # e.g. "my-space"
|
| 22 |
-
SPACE_CREATOR_USER_ID = os.getenv("SPACE_CREATOR_USER_ID")
|
| 23 |
-
print(SPACE_ID)
|
| 24 |
-
print(SPACE_AUTHOR_NAME)
|
| 25 |
-
print(SPACE_REPO_NAME)
|
| 26 |
-
print(SPACE_CREATOR_USER_ID)
|
| 27 |
-
#
|
| 28 |
-
|
| 29 |
BASE_URL = f"https://huggingface.co/spaces/{SPACE_ID}/blob/main"
|
| 30 |
|
| 31 |
# MCP server functions
|
|
|
|
| 15 |
|
| 16 |
SPACE_ID = os.environ.get("SPACE_ID")
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
BASE_URL = f"https://huggingface.co/spaces/{SPACE_ID}/blob/main"
|
| 19 |
|
| 20 |
# MCP server functions
|