mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix updater and model installer
This commit is contained in:
parent
f1fb1c9a60
commit
5de820f2dc
@ -189,7 +189,7 @@ class ModelInstall(object):
|
||||
# A little hack to allow nested routines to retrieve info on the requested ID
|
||||
self.current_id = model_path_id_or_url
|
||||
path = Path(model_path_id_or_url)
|
||||
|
||||
|
||||
try:
|
||||
# checkpoint file, or similar
|
||||
if path.is_file():
|
||||
@ -205,7 +205,7 @@ class ModelInstall(object):
|
||||
self.heuristic_install(child, models_installed=models_installed)
|
||||
|
||||
# huggingface repo
|
||||
elif len(str(path).split('/')) == 2:
|
||||
elif len(str(model_path_id_or_url).split('/')) == 2:
|
||||
models_installed.add(self._install_repo(str(path)))
|
||||
|
||||
# a URL
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "3.0.0+a2"
|
||||
__version__ = "3.0.0+a3"
|
||||
|
Loading…
Reference in New Issue
Block a user