Update README.md (#31)
- Update README.md (2a87a7a4b1b7ac58b428cca1ba1b367ea92b457a) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>
This commit is contained in:
parent
012d2fdbdf
commit
02046d1ec0
@ -35,7 +35,7 @@ The FLUX.1 models are also available via API from the following sources
|
||||
To use `FLUX.1 [schnell]` 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
|
||||
@ -51,7 +51,6 @@ prompt = "A cat holding a sign that says hello world"
|
||||
image = pipe(
|
||||
prompt,
|
||||
guidance_scale=0.0,
|
||||
output_type="pil",
|
||||
num_inference_steps=4,
|
||||
max_sequence_length=256,
|
||||
generator=torch.Generator("cpu").manual_seed(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user