From 9f267af3f7404d8d8a9123e8e1c07a6557eba54d Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Wed, 14 Sep 2022 17:56:21 +0300 Subject: added a second style field added the ability to use {prompt} in styles added a button to apply style to textbox rearranged top row for UI --- modules/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/shared.py') diff --git a/modules/shared.py b/modules/shared.py index 1206cb4c..03269444 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -81,7 +81,7 @@ state = State() artist_db = modules.artists.ArtistsDatabase(os.path.join(script_path, 'artists.csv')) styles_filename = cmd_opts.styles_file -prompt_styles = modules.styles.load_styles(styles_filename) +prompt_styles = modules.styles.StyleDatabase(styles_filename) interrogator = modules.interrogate.InterrogateModels("interrogate") -- cgit v1.2.3