Added description to model list and change it to JSON file

This commit is contained in:
jeffser
2024-06-25 00:36:02 -06:00
parent 8bf8ca1b90
commit ce3dce4c67
7 changed files with 9 additions and 18 deletions

View File

@@ -1,7 +1,6 @@
# dialogs.py
from gi.repository import Adw, Gtk, Gdk, GLib, GtkSource, Gio, GdkPixbuf
from .available_models import available_models
# CLEAR CHAT | WORKS
@@ -153,7 +152,7 @@ def pull_model_response(self, dialog, task, model_name, tag_drop_down):
def pull_model(self, model_name):
tag_list = Gtk.StringList()
for tag in available_models[model_name]['tags']:
for tag in self.available_models[model_name]['tags']:
tag_list.append(f"{tag[0]} | {tag[1]}")
tag_drop_down = Gtk.DropDown(
enable_search=True,