this small fix adds back the load_models.py script

- fixes broken setup.py in current dev
- it is just an alias for configure_invokeai.py
- preload_models.py will be deprecated, but for now
  it is a second alias
This commit is contained in:
Lincoln Stein 2022-11-22 15:37:16 +00:00
parent 0340d9ad53
commit 37bcf9cc47

12
scripts/load_models.py Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
# Copyright (c) 2022 Lincoln D. Stein (https://github.com/lstein)
# Before running stable-diffusion on an internet-isolated machine,
# run this script from one with internet connectivity. The
# two machines must share a common .cache directory.
import warnings
import configure_invokeai
if __name__ == '__main__':
configure_invokeai.main()