Add files via upload

上一次上传到docs文件夹中了,修改一下
This commit is contained in:
yrk111222
2024-10-22 09:52:12 +08:00
committed by GitHub
parent 70c4ff4121
commit 1a004ffe81
8 changed files with 15 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
# Installation
Currently, DiffSynth-Studio supports installation via cloning from GitHub or using pip. We recommend users to clone from GitHub to experience the latest features.
## From Source
1. Clone the source repository:

View File

@@ -1,6 +1,6 @@
# 模型
目前为止,DiffSynth Studio 支持的模型如下所示:
So far, the models supported by DiffSynth Studio are as follows:
* [CogVideoX](https://huggingface.co/THUDM/CogVideoX-5b)
* [FLUX](https://huggingface.co/black-forest-labs/FLUX.1-dev)

View File

@@ -28,7 +28,7 @@ pipe = SDXLImagePipeline.from_model_manager(model_manager, prompt_refiner_classe
### Prompt Extenders
When loading the model pipeline, you can specify the desired prompt extender using the prompt_extender_classes parameter. For example code, refer to [omost_flux_text_to_image.py](examples/image_synthesis/omost_flux_text_to_image.py).
When loading the model pipeline, you can specify the desired prompt extender using the `prompt_extender_classes` parameter. For example code, refer to [omost_flux_text_to_image.py](examples/image_synthesis/omost_flux_text_to_image.py).
```python
pipe = FluxImagePipeline.from_model_manager(model_manager, prompt_extender_classes=[OmostPromter])