Commit Graph

6 Commits (master)

Author SHA1 Message Date
Bryce d478771cc0 refactor: move a bunch of stuff to utils 6 months ago
Bryce 9b95e8b0b6 perf: improve cli startup time
- do not provide automatically imported api functions and objects in `imaginairy` root module
- horrible hack to overcome horrible design choices by easy_install/setuptools

The hack modifies the installed script to remove the __import__ pkg_resources line

If we don't do this then the scripts will be slow to start up because of
pkg_resources.require() which is called by setuptools to ensure the
"correct" version of the package is installed.

before modification example:
```
__requires__ = 'imaginAIry==14.0.0b5'
__import__('pkg_resources').require('imaginAIry==14.0.0b5')
__file__ = '/home/user/projects/imaginairy/imaginairy/bin/aimg'
with open(__file__) as f:
    exec(compile(f.read(), __file__, 'exec'))
```
6 months ago
Bryce 558d3388e5 style: speed up linting and autoformatting. fix lints 9 months ago
Bryce 54c3ad51d6 feature: controlnet 1 year ago
Bryce 5b56f05da7 feature: print version
- fix: default config wasn't being selected for custom models
1 year ago
Bryce 81f294216b feature: 🎉 outpainting 1 year ago