Skip to content

Commit d62310b

Browse files
committed
Support HF repos with subfolders in source on windows OS
1 parent 1835bff commit d62310b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/services/model_install/model_install_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __str__(self) -> str:
103103
if self.variant:
104104
base += f":{self.variant or ''}"
105105
if self.subfolder:
106-
base += f"::{self.subfolder}"
106+
base += f"::{self.subfolder.as_posix()}"
107107
return base
108108

109109

0 commit comments

Comments
 (0)