mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
port probing changes from main model_probe.py to refactored probe.py
This commit is contained in:
parent
75089b7a9d
commit
e46ac45741
@ -422,6 +422,8 @@ class TextualInversionCheckpointProbe(CheckpointProbeBase):
|
||||
return BaseModelType.StableDiffusion1
|
||||
elif token_dim == 1024:
|
||||
return BaseModelType.StableDiffusion2
|
||||
elif token_dim == 1280:
|
||||
return BaseModelType.StableDiffusionXL
|
||||
else:
|
||||
raise InvalidModelConfigException("Could not determine base type")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user