mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
1c377b7995
- implement the following pattern for finding data files under both regular and editable install conditions: import invokeai.foo.bar as bar path = bar.__path__[0] - this *seems* to work reliably with Python 3.9. Testing on 3.10 needs to be performed. |
||
---|---|---|
.. | ||
data | ||
invoke | ||
models | ||
modules | ||
__init__.py | ||
generate.py | ||
lr_scheduler.py | ||
simplet2i.py | ||
util.py |