BiRefNet / __init__.py
ZhengPeng7's picture
Move all BiRefNet github codes to the first level directory.
108ae46
raw
history blame
No virus
213 Bytes
from os.path import dirname, basename, isfile, join
import glob
modules = glob.glob(join(dirname(__file__), "*.py"))
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]