Update README.md (#46)

- Update README.md (04bf310e2362f0204cf061263c03f050c353bc16)

Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>
This commit is contained in:
ai-modelscope
2024-08-11 22:04:32 +08:00
parent 89ddd9136b
commit c7a7c17690

View File

@ -10,8 +10,6 @@ tags:
- text-to-image
- image-generation
- flux
studios:
- muse/flux_dev
---
![FLUX.1 [dev] Grid](./dev_grid.jpg)
@ -44,7 +42,7 @@ The FLUX.1 models are also available via API from the following sources
To use `FLUX.1 [dev]` with the 🧨 diffusers python library, first install or upgrade diffusers
```shell
pip install git+https://github.com/huggingface/diffusers.git
pip install -U diffusers
```
Then you can use `FluxPipeline` to run the model
@ -62,7 +60,6 @@ image = pipe(
height=1024,
width=1024,
guidance_scale=3.5,
output_type="pil",
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)