diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-11 12:27:42 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-11 12:27:42 +0000 |
commit | ce68ab8d0dfdd25e820c58dbc9d3b0148a2022a4 (patch) | |
tree | c56a08c3a94499a0f2d5789f1f740fa18a43b34f /modules/ui_extra_networks_checkpoints.py | |
parent | c239b3d7a86452bd7cf6b081bd0e02b0fa12dcaf (diff) | |
download | stable-diffusion-webui-gfx803-ce68ab8d0dfdd25e820c58dbc9d3b0148a2022a4.tar.gz stable-diffusion-webui-gfx803-ce68ab8d0dfdd25e820c58dbc9d3b0148a2022a4.tar.bz2 stable-diffusion-webui-gfx803-ce68ab8d0dfdd25e820c58dbc9d3b0148a2022a4.zip |
remove underscores from function names in #8366
remove LRU from #8366 because I don't know why it's there
Diffstat (limited to 'modules/ui_extra_networks_checkpoints.py')
-rw-r--r-- | modules/ui_extra_networks_checkpoints.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui_extra_networks_checkpoints.py b/modules/ui_extra_networks_checkpoints.py index 1deb785a..7d1aa203 100644 --- a/modules/ui_extra_networks_checkpoints.py +++ b/modules/ui_extra_networks_checkpoints.py @@ -19,8 +19,8 @@ class ExtraNetworksPageCheckpoints(ui_extra_networks.ExtraNetworksPage): yield {
"name": checkpoint.name_for_extra,
"filename": path,
- "preview": self._find_preview(path),
- "description": self._find_description(path),
+ "preview": self.find_preview(path),
+ "description": self.find_description(path),
"search_term": self.search_terms_from_path(checkpoint.filename) + " " + (checkpoint.sha256 or ""),
"onclick": '"' + html.escape(f"""return selectCheckpoint({json.dumps(name)})""") + '"',
"local_preview": path + ".png",
|