Spaces:
Sleeping
Sleeping
import os | |
from pathlib import Path | |
PATH = Path("/home/user/app") if os.environ.get("SYSTEM") == "spaces" else Path("app") | |
import os | |
from pathlib import Path | |
PATH = Path("/home/user/app") if os.environ.get("SYSTEM") == "spaces" else Path("app") | |