From 83bc0c35df7bb5f8cbb1b9e383d8c57ed34ea564 Mon Sep 17 00:00:00 2001 From: butaixianran Date: Thu, 9 Mar 2023 18:06:07 +0800 Subject: [PATCH] update document --- README.cn.md | 12 ++++++++++++ README.md | 13 +++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/README.cn.md b/README.cn.md index 4a2d6b5..cc02f59 100644 --- a/README.cn.md +++ b/README.cn.md @@ -69,6 +69,18 @@ Extra Network支持两种预览图命名:`model_name.png` 和 `model_name.prev civitai不是每个图片都有关键词,一个模型中,也不是所有预览图关键词都一样。所以这里是遍历所有civitai预览图信息,加载第一个有关键词的。 +## SHA256 +为了创建文件的SHA256,插件需要读取整个文件。对于大尺寸文件,就会很慢。 + +默认,插件使用内存优化的SHA256生成方法,就不会卡住你的系统。所以,如果你想要在扫描模型的同时使用电脑,就不要取消勾选这个优化。 + +有两种情况,这个SHA256无法从civitai找到对应模型: +* 太老的模型,civitai没有存储SHA256. +* 模型作者,静静的换掉了模型文件,但没有修改描述和版本。所以,虽然网页上看不出来,但实际上civitai上的 和你本地的模型文件,已经不是同一个文件了。 + +这些情况下,你可以在插件上,通过提供模型页面的url,来获取模型信息文件。(v1.3新功能) + + Enjoy! diff --git a/README.md b/README.md index ec63df7..8f3231f 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,20 @@ When you click the button "Use prompt from preview image", it does not use the p On civitai, a model's preview images may not has prompt. This extension will check this model's all civitai preview images' information and use the first one has prompt in it. +## SHA256 +To create a file SHA256, it need to read the whole file to generate a hash code. It gonna be slow for big files. + +Default, it uses a Memory Optimized SHA256 which won't stuck your system. So, do not uncheck it if you want to use your compute when scanning. + +There are 2 cases this hash code can not find the model on civitai: +* Some old models, which do not have SHA256 code on civitai. +* The model's owner changed file on civitai, but does not change version number and description. So, the file on civitai is actually not the one on your manchine. + +In these cases, you can always link a model to civitai by filling its URL in this extension from v1.3. + Enjoy! -# Known Issues -* It cannot force a model link to Civitai by model ID for now. This will be added later. # Change Log ## v1.3