From 7e1a3713b5c76eed5d4c3488f09daddee6eedab2 Mon Sep 17 00:00:00 2001 From: jeffser Date: Fri, 11 Oct 2024 15:11:09 -0600 Subject: [PATCH] Fixed: Create model from existing --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index fa8ab8c..67d1e56 100644 --- a/src/window.py +++ b/src/window.py @@ -922,7 +922,7 @@ Generate a title following these rules: 'new_chat': [lambda *_: self.chat_list_box.new_chat(), ['n']], 'clear': [lambda *i: dialog_widget.simple(_('Clear Chat?'), _('Are you sure you want to clear the chat?'), self.chat_list_box.get_current_chat().clear_chat, _('Clear')), ['e']], 'import_chat': [lambda *_: self.chat_list_box.import_chat(), ['i']], - 'create_model_from_existing': [lambda *i: dialog_widget.simple_dropdown(_('Select Model'), _('This model will be used as the base for the new model'), lambda model: self.create_model(model, False), self.model_manager.get_model_list())], + 'create_model_from_existing': [lambda *i: dialog_widget.simple_dropdown(_('Select Model'), _('This model will be used as the base for the new model'), lambda model: self.create_model(model, False), [self.convert_model_name(model, 0) for model in self.model_manager.get_model_list()])], 'create_model_from_file': [lambda *i, file_filter=self.file_filter_gguf: dialog_widget.simple_file(file_filter, lambda file: self.create_model(file.get_path(), True))], 'create_model_from_name': [lambda *i: dialog_widget.simple_entry(_('Pull Model'), _('Input the name of the model in this format\nname:tag'), lambda model: threading.Thread(target=self.model_manager.pull_model, kwargs={"model_name": model}).start(), {'placeholder': 'llama3.2:latest'})], 'duplicate_chat': [self.chat_actions],