sd-dynamic-prompts
                                
                                 sd-dynamic-prompts copied to clipboard
                                
                                    sd-dynamic-prompts copied to clipboard
                            
                            
                            
                        [Feature Request]: Custom directory path for wildcards base.
It would be nice if user can to choose in settings the path where the wildcards database is located (+subdirrectorys).
For the time being, you should be able to replace the wildcards/ directory with a symlink pointing elsewhere.
@akx, also does this work for Windows?
@LLKoder It should. See https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/
Thanks a lot!
mklink /d Link Target
example:
mklink /d wildcards c:\automatic\extensions\sd-dynamic-prompts\wildcards
will create a link wildcards in your current directory that points to c:\automatic\extensions\sd-dynamic-prompts\wildcards
(/d creates a directory link rather than a file link. Note that you can substitute /d with /j for a directory junction. Junctions are resolved server-side, rather than client-side; useful for some applications running over a network.)
Doesn't this already work according to the documentation:
WILDCARDS: The extension looks for wildcard files in WILDCARD_DIR. The default location is /path/to/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards. It can also be manually defined in the main webui config.json under wildcard_dir. When in doubt, the help text for the extension in the webui lists the full path to WILDCARD_DIR
If I'm being honest I didn't know that, I found that options in Settings of WebUI and then I wrote:
It would be nice if user can to choose in settings the path where the wildcards database is located (+subdirrectorys).
I mean WebUI either.
Doesn't this already work according to the documentation:
WILDCARDS: The extension looks for wildcard files in WILDCARD_DIR. The default location is /path/to/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards. It can also be manually defined in the main webui config.json under wildcard_dir. When in doubt, the help text for the extension in the webui lists the full path to WILDCARD_DIR
Don't think so, I set wild_card (upper+lower case) in config.json with multiple restart of WebUI, the path is still hardcoded to the extension one.
@YannJun  wildcar is not wildcard.
@YannJun
wildcaris notwildcard.
indeed, too blind to see it.
So @YannJun did adding "wildcard_dir": "your-path" work?