Comments (1)
Hi @Syrjusz,
Sorry for the late reply.
The sd_model
variable will produce a string that contains the following: a directory path, model name, file extension, and model hash code.
You can check the value by adding this to your prompt:
[log]What is the `sd_model`? [get sd_model][/log]
You should then find something like this in your console window:
2024-04-26 03:50:23,071 (DEBUG) [Unprompted.log] What is the `sd_model`? general\reliberate_v20.safetensors [6b08e2c182]
So you can either use this full string in your [if]
conditionals, or use [substring]
to search for a partial match within the sd_variable
(such as "dreamshaperXL_v21").
Hope that helps.
from unprompted.
Related Issues (20)
- show the controlnet image after generation HOT 3
- ImageIO does not generally support reading folders. HOT 1
- (ERROR) Failed to install opencv-python dependency for Unprompted - [faceswap] insightface functions may not work HOT 2
- unable to write .json files _all_external and _external flags HOT 1
- processor_res vars won't work with sdxl controlnets HOT 4
- txt2mask with batch only applying to first image with "inpaint not masked"
- Bodysnatcher + Adetailer: Pillow fails when inverting txt2mask: OSError: not supported for this image mode HOT 2
- Secondary shortcode not working with filter_tags
- Impossible to make good txt2mask composites
- Guide to how to use Bodysnatcher
- Lost ability to set controlnet_#_image variables per batch_count_index HOT 2
- Unprompted doesn't work, no shortcodes recognized, treated as plain text. Running in CPU mode.
- lora ignored on batch count > 1 HOT 1
- PNGInfo wrong
- Disable pnginfo HOT 2
- Unprompted passing wrong arguments (too many, wrong order) to img2Img HOT 3
- Seeds are deterministic? HOT 2
- escape character not working
- txt2img2img non functional.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unprompted.