From e0c7e9c7717a8b7f1de85b7cb2a3c85d1786664f Mon Sep 17 00:00:00 2001 From: jeffser Date: Fri, 30 Aug 2024 20:30:37 -0600 Subject: [PATCH] Remove unnecesary code --- src/window.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/window.py b/src/window.py index e4aec48..ed38901 100644 --- a/src/window.py +++ b/src/window.py @@ -829,8 +829,6 @@ Generate a title following these rules: self.chat_list_box = chat_widget.chat_list() self.chat_list_container.set_child(self.chat_list_box) GtkSource.init() - with open(os.path.join(source_dir, 'available_models.json'), 'r', encoding="utf-8") as f: - self.available_models = json.load(f) if not os.path.exists(os.path.join(self.data_dir, "chats")): os.makedirs(os.path.join(self.data_dir, "chats")) enter_key_controller = Gtk.EventControllerKey.new()