mirror of
https://github.com/invoke-ai/InvokeAI
synced 2025-07-25 21:05:37 +00:00
- 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.