Fixed error message when pulling a model that's already pulled
This commit is contained in:
parent
9b71bbea2e
commit
b2a15b92cd
@ -574,10 +574,10 @@ class AlpacaWindow(Adw.ApplicationWindow):
|
|||||||
|
|
||||||
def pull_model(self, model):
|
def pull_model(self, model):
|
||||||
if model in list(self.pulling_models.keys()):
|
if model in list(self.pulling_models.keys()):
|
||||||
self.show_toast("info", 3, self.manage_models_overlay)
|
self.show_toast("info", 2, self.manage_models_overlay)
|
||||||
return
|
return
|
||||||
if model in self.local_models:
|
if model in self.local_models:
|
||||||
self.show_toast("info", 4, self.manage_models_overlay)
|
self.show_toast("info", 3, self.manage_models_overlay)
|
||||||
return
|
return
|
||||||
self.pulling_model_list_box.set_visible(True)
|
self.pulling_model_list_box.set_visible(True)
|
||||||
model_row = Adw.ActionRow(
|
model_row = Adw.ActionRow(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user