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