mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-03-09 08:29:10 +01:00
Variant
This commit is contained in:
parent
c8c27079ed
commit
4377158503
@ -619,6 +619,8 @@ def get_model_discriminator_value(v: Any) -> str:
|
||||
format_ = v.format.value
|
||||
type_ = v.type.value
|
||||
variant_ = getattr(v, "variant", None)
|
||||
if variant_:
|
||||
variant_ = variant_.value
|
||||
|
||||
# Ideally, each config would be uniquely identified with a combination of fields
|
||||
# i.e. (type, format, variant) without any special cases. Alas...
|
||||
|
||||
Loading…
Reference in New Issue
Block a user