We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4c629 commit c064257Copy full SHA for c064257
invokeai/backend/model_manager/util/model_util.py
@@ -172,6 +172,8 @@ def get_clip_variant_type(location: str) -> Optional[ClipVariantType]:
172
try:
173
path = Path(location)
174
config_path = path / "config.json"
175
+ if not config_path.exists():
176
+ config_path = path / "text_encoder" / "config.json"
177
if not config_path.exists():
178
return ClipVariantType.L
179
with open(config_path) as file:
0 commit comments