mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
9 lines
229 B
Python
9 lines
229 B
Python
|
import os
|
||
|
|
||
|
__all__ = []
|
||
|
|
||
|
dirname = os.path.dirname(os.path.abspath(__file__))
|
||
|
for f in os.listdir(dirname):
|
||
|
if f != "__init__.py" and os.path.isfile("%s/%s" % (dirname, f)) and f[-3:] == ".py":
|
||
|
__all__.append(f[:-3])
|