MCPcopy Create free account

hub / github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper / functions

Functions81 in github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper

↓ 10 callersFunctionprintD
(msg)
scripts/ch_lib/util.py:21
↓ 9 callersFunctionsend_ch_py_msg
(msg)
javascript/civitai_helper.js:57
↓ 4 callersFunction_first_existing_dir
(*values)
scripts/ch_lib/model.py:40
↓ 4 callersFunctiongetActivePrompt
()
javascript/civitai_helper.js:144
↓ 4 callersFunctiongetActiveTabType
()
javascript/civitai_helper.js:131
↓ 4 callersFunctionget_new_ch_py_msg
(max_count=5)
javascript/civitai_helper.js:88
↓ 2 callersFunctionch_is_sd1_8_or_newer
()
javascript/civitai_helper.js:743
↓ 2 callersFunctionconvertModelTypeFromPyToJS
(model_type)
javascript/civitai_helper.js:168
↓ 2 callersFunctiongetActiveNegativePrompt
()
javascript/civitai_helper.js:155
↓ 2 callersFunctionget_model_info_by_id
(id:str)
scripts/ch_lib/civitai.py:77
↓ 2 callersFunctionsearch_local_model_info_by_version_id
(folder:str, version_id:int, walk:bool=False)
scripts/ch_lib/civitai.py:426
↓ 1 callersFunctionch_convert_file_path_to_url
(path)
javascript/civitai_helper.js:4
↓ 1 callersFunctionch_has_sd1_8_extra_networks_layout
()
javascript/civitai_helper.js:725
↓ 1 callersFunctionch_sd_version
()
javascript/civitai_helper.js:14
↓ 1 callersFunctioncheck_model_new_version_by_path
(model_path:str, delay:float=1)
scripts/ch_lib/civitai.py:518
↓ 1 callersFunctioncompareVersions
* @param {string} version1 - version1 (x.y.z) * @param {string} version2 - version2 (x.y.z) * @returns {number} - 1: version1 is higher, -1: version
javascript/civitai_helper.js:703
↓ 1 callersFunctionextract_version
(text)
javascript/civitai_helper.js:33
↓ 1 callersFunctionget_full_size_image_url
(image_url, width)
scripts/ch_lib/civitai.py:34
↓ 1 callersFunctionget_model_names_by_type_and_filter
(model_type:str, filter:dict)
scripts/ch_lib/civitai.py:282
↓ 1 callersFunctionget_ver_info_by_ver_str
(version_str:str, model_info:dict)
scripts/ch_lib/model_action_civitai.py:278
↓ 1 callersFunctionget_version_info_by_version_id
(id:str)
scripts/ch_lib/civitai.py:113
↓ 1 callersFunctionread_chunks
Yield pieces of data from a file-like object until EOF.
scripts/ch_lib/util.py:25
↓ 1 callersFunctionsave
()
scripts/ch_lib/setting.py:31
↓ 1 callersFunctionupdate_card_for_civitai
()
javascript/civitai_helper.js:771
↓ 1 callersFunctionupdate_card_for_civitai_with_sd1_8
()
javascript/civitai_helper.js:977
Functionadd_trigger_words
(event, model_type, search_term)
javascript/civitai_helper.js:270
Functionadd_trigger_words
(msg)
scripts/ch_lib/js_action_civitai.py:80
Functionadd_trigger_words_with_path
(event, model_type, model_path)
javascript/civitai_helper.js:500
Functionbuild_py_msg
(action:str, content:dict)
scripts/ch_lib/msg_handler.py:45
Functionch_dl_model_new_version
(event, model_path, version_id, download_url)
javascript/civitai_helper.js:661
Functionch_img_node_str
(path)
javascript/civitai_helper.js:10
Functioncheck_models_new_version_by_model_types
(model_types:list, delay:float=1, check_new_ver_exist_in_all_folder:bool=False)
scripts/ch_lib/civitai.py:636
Functioncheck_models_new_version_to_md
(model_types)
scripts/civitai_helper.py:116
Functioncheck_models_new_version_to_md
(model_types:list, check_new_ver_exist_in_all_folder:bool)
scripts/ch_lib/model_action_civitai.py:150
FunctionconvertModelTypeFromJsToPy
(js_model_type)
javascript/civitai_helper.js:188
Functiondl
(url, folder, filename, filepath)
scripts/ch_lib/downloader.py:14
Functiondl_model_by_input
(dl_model_info, dl_model_type_txtbox, dl_subfolder_drop, dl_version_drop, dl_all_ckb)
scripts/civitai_helper.py:113
Functiondl_model_by_input
(model_info:dict, model_type:str, subfolder_str:str, version_str:str, dl_all_bool:bool, max_size_preview:bool,
scripts/ch_lib/model_action_civitai.py:383
Functiondl_model_new_version
(js_msg_txtbox, max_size_preview)
scripts/civitai_helper.py:122
Functiondl_model_new_version
(msg, max_size_preview, skip_nsfw_preview)
scripts/ch_lib/js_action_civitai.py:210
Functiondownload_file
(url, path)
scripts/ch_lib/util.py:52
Functiongen_file_sha256
(filname)
scripts/ch_lib/util.py:34
Functionget_ch_py_msg
()
javascript/civitai_helper.js:72
Functionget_custom_model_folder
()
scripts/ch_lib/model.py:56
Functionget_id_and_dl_url_by_version_str
(version_str:str, model_info:dict)
scripts/ch_lib/model_action_civitai.py:322
Functionget_model_id_from_url
(url:str)
scripts/ch_lib/civitai.py:339
Functionget_model_info_by_hash
(hash:str)
scripts/ch_lib/civitai.py:40
Functionget_model_info_by_input
(model_type_drop, model_name_drop, model_url_or_id_txtbox)
scripts/civitai_helper.py:110
Functionget_model_info_by_input
(model_type, model_name, model_url_or_id, max_size_preview, skip_nsfw_preview)
scripts/ch_lib/model_action_civitai.py:100
Functionget_model_info_by_url
(url)
scripts/civitai_helper.py:130
Functionget_model_info_by_url
(model_url_or_id:str)
scripts/ch_lib/model_action_civitai.py:200
Functionget_model_names_by_input
(model_type, empty_info_only)
scripts/civitai_helper.py:126
Functionget_model_names_by_input
(model_type, empty_info_only)
scripts/ch_lib/civitai.py:334
Functionget_model_names_by_type
(model_type:str)
scripts/ch_lib/model.py:111
Functionget_model_path_by_search_term
(model_type:str, search_term:str)
scripts/ch_lib/model.py:163
Functionget_model_path_by_type_and_name
(model_type:str, model_name:str)
scripts/ch_lib/model.py:132
Functionget_preview_image_by_model_path
(model_path:str, max_size_preview, skip_nsfw_preview)
scripts/ch_lib/civitai.py:370
Functionget_relative_path
(item_path:str, parent_path:str)
scripts/ch_lib/util.py:92
Functionget_subfolders
(folder:str)
scripts/ch_lib/util.py:69
Functionget_version_info_by_model_id
(id:str)
scripts/ch_lib/civitai.py:149
Functionload
()
scripts/ch_lib/setting.py:55
Functionload_model_info
(path)
scripts/ch_lib/model.py:94
Functionload_model_info_by_model_path
(model_path)
scripts/ch_lib/civitai.py:262
Functionload_model_info_by_search_term
(model_type, search_term)
scripts/ch_lib/civitai.py:198
Functionon_ui_settings
()
scripts/civitai_helper.py:40
Functionon_ui_tabs
()
scripts/civitai_helper.py:51
Functionopen_model_url
(event, model_type, search_term)
javascript/civitai_helper.js:210
Functionopen_model_url
(js_msg_txtbox)
scripts/civitai_helper.py:119
Functionopen_model_url
(msg, open_url_with_js)
scripts/ch_lib/js_action_civitai.py:18
Functionopen_model_url_with_path
(event, model_type, model_path)
javascript/civitai_helper.js:440
Functionparse_js_msg
(msg)
scripts/ch_lib/msg_handler.py:14
Functionremove_card
(event, model_type, search_term)
javascript/civitai_helper.js:348
Functionremove_card_with_path
(event, model_type, model_path)
javascript/civitai_helper.js:578
Functionremove_model_by_path
(msg)
scripts/ch_lib/js_action_civitai.py:290
Functionsave_from_input
(max_size_preview, skip_nsfw_preview, open_url_with_js, proxy, check_new_ver_exist_in_all_folder, civitai_doma
scripts/ch_lib/setting.py:91
Functionscan_model
(scan_model_types)
scripts/civitai_helper.py:107
Functionscan_model
(scan_model_types, max_size_preview, skip_nsfw_preview)
scripts/ch_lib/model_action_civitai.py:13
Functionuse_preview_image_prompt
(msg)
scripts/ch_lib/js_action_civitai.py:140
Functionuse_preview_prompt
(event, model_type, search_term)
javascript/civitai_helper.js:308
Functionuse_preview_prompt_with_path
(event, model_type, model_path)
javascript/civitai_helper.js:538
Functionwrite_model_info
(path, model_info)
scripts/ch_lib/model.py:88