update document

pull/39/head
butaixianran 2023-03-09 18:06:07 +08:00
parent c94a96419b
commit 83bc0c35df
2 changed files with 23 additions and 2 deletions

View File

@ -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!

View File

@ -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