Aarni Koskela
268fc94d92
Rework installer and requirement checks
2023-05-24 12:23:58 +03:00
Adi Eyal
bbb00c6cc4
Checking for the correct versions of dependencies
...
Improving dependency management by checking for the correct dependency version.
2023-05-24 10:01:38 +02:00
Adi Eyal
a4877f2397
An incompatible library version disables the extension. ( #447 )
2023-05-24 09:41:20 +03:00
Adi Eyal
d30639722f
Fixed install.py compatibility with older python versions
2023-05-23 07:25:23 +02:00
Adi Eyal
72f21dea4d
Added check for the correct dynamicprompts version
...
If not then instructions are provided for manual installation
2023-05-22 11:48:38 +02:00
Adi Eyal
9059ead936
Fixed circular dependency that broke install.py
2023-01-27 07:13:47 +02:00
Aarni Koskela
3be423bf41
Reformat code with black
2023-01-26 21:11:42 +02:00
Aarni Koskela
3de3a89f0d
Simplify install script
2023-01-26 17:44:18 +02:00
Adi Eyal
35828110d6
Merge branch 'cleanup' of https://github.com/akx/sd-dynamic-prompts into akx-cleanup
2023-01-23 17:03:24 +02:00
Aarni Koskela
9624ce46e8
Apply fixes by Ruff
2023-01-23 16:51:29 +02:00
Aarni Koskela
9afce27b2c
Apply fixes by Ruff
2023-01-23 15:55:23 +02:00
Adi Eyal
e870a3e05c
Fixed installation of spacy
2023-01-15 20:02:32 +02:00
Adi Eyal
70e434dfb2
Fixed annoying unnecessary reinstall of dependenices
...
Also bumped dynamicprompts to v0.2.6 which includes wildcard caching for
a performance boost
2023-01-10 09:07:03 +02:00
Adi Eyal
b8a7bdd53e
Updated dependencies
...
dynamicprompts is now always upgraded if a new version is available. This means that a new version of the extension does not need to be released every time dynamicprompts updates.
The new version 0.1.18 of dynamicprompts removes an explicit dependency on pytorch and relies on the version that is installed with the webui. This avoids an unpleasant 1.8GB download.
Unpinned requests so that it uses the same version as Automatic1111.
2023-01-06 13:17:27 +02:00
Adi Eyal
51de80497e
Using classes from the typing package for python 3.7 compatibility
2023-01-04 22:33:55 +02:00
Adi Eyal
78a49fd5a5
Migrated to using the dynamicprompts library
2023-01-04 19:42:43 +02:00
Adi Eyal
a122279157
Using pyparsing instead of regular expressions
...
Prompts are now more flexible allowing for arbitrary nesting of clauses,
c-style and python-style comments, and Auto1111's prompt editing. Ranges
are now also available in combinatorial mode.
2022-12-31 16:26:10 +02:00
Alex "mcmonkey" Goodwin
921fad95c0
fix install.py case sensitive is_installed check
...
for some reason that check is case sensitive, so it was attempting a reinstall every single time you start the WebUI. Fixed with this easy case correction.
2022-12-27 12:34:02 -08:00
Adi Eyal
601871bbdd
Added confirmation prompt when deleting wildcards
...
Also deletion moves files to Trash using the send2trash library
2022-12-24 19:35:52 +02:00
Ju1-js
763f02341b
run_pip appends Installing to install message
...
76 def run_pip(args, desc=None):
77 index_url_line = f' --index-url {index_url}' if index_url != '' else ''
78 return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
2022-12-10 17:19:13 -08:00
Adi Eyal
9b923a9d64
Added attention grabber
...
adds attention to random keyword in the prompt
2022-11-17 00:37:33 +02:00
KEV
52cd95ff13
Prevent 'pip' from launching every time the UI is started.
...
We don't check specific versions of packages since other extensions may rely on other versions.
2022-11-16 01:15:35 +10:00
Adi Eyal
c6cdaecf90
Added I'm feeling lucky option to generate random prompts
2022-11-14 10:48:14 +02:00
Adi Eyal
6340e1f50d
Using launch.run_pip to install dependencies
2022-11-14 07:17:00 +02:00
Adi Eyal
e55b384193
Added missing pip install Jinja2
2022-11-13 18:20:36 +02:00