update doc

This commit is contained in:
Artiprocher
2025-12-01 22:11:38 +08:00
parent 62c94a9927
commit 2379387df2
5 changed files with 159 additions and 43 deletions

View File

@@ -38,6 +38,14 @@ pipe = QwenImagePipeline.from_pretrained(
>
> 默认情况下,即使模型已经下载完毕,程序仍会向远程查询是否有遗漏文件,如果要完全关闭远程请求,请将[环境变量 DIFFSYNTH_SKIP_DOWNLOAD](/docs/Pipeline_Usage/Environment_Variables.md#diffsynth_skip_download) 设置为 `True`。
如需从 [HuggingFace](https://huggingface.co/) 下载模型,可通过设置[环境变量](Environment_Variables.md)实现:
```shell
import os
os.environ["DIFFSYNTH_DOWNLOAD_RESOURCE"] = "huggingface"
import diffsynth
```
</details>
<details>