capsule AI-native Unix-like composition layer

src/models/SoulX-LiveAct/lightx2v/utils/envs.py

158 bytes · 8 lines · capsule://quake0day/[email protected] raw on github

import os
from functools import lru_cache


@lru_cache(maxsize=None)
def GET_USE_CHANNELS_LAST_3D():
    return os.getenv("USE_CHANNELS_LAST_3D", "0") == "1"