improve: support filename search in model download dialog

This commit is contained in:
Dr.Lt.Data 2024-05-27 11:15:54 +09:00
parent 0449cef088
commit 176ecde6a9
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global import cm_global
from manager_util import * from manager_util import *
version = [2, 35] version = [2, 35, 1]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))

View File

@ -84,7 +84,7 @@ export class ModelInstaller extends ComfyDialog {
let keyword = this.search_box.value.toLowerCase(); let keyword = this.search_box.value.toLowerCase();
for(let i in this.grid_rows) { for(let i in this.grid_rows) {
let data = this.grid_rows[i].data; let data = this.grid_rows[i].data;
let content = data.name.toLowerCase() + data.type.toLowerCase() + data.base.toLowerCase() + data.description.toLowerCase(); let content = data.name.toLowerCase() + data.type.toLowerCase() + data.base.toLowerCase() + data.filename.toLowerCase() + data.description.toLowerCase();
if(this.filter && this.filter != '*') { if(this.filter && this.filter != '*') {
if(this.filter != data.installed) { if(this.filter != data.installed) {

View File

@ -1,7 +1,7 @@
[project] [project]
name = "comfyui-manager" name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "2.35" version = "2.35.1"
license = "LICENSE" license = "LICENSE"
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"] dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]