sumith1896 sayakpaul HF staff commited on
Commit
02046d1
1 Parent(s): 012d2fd

Update README.md (#31)

Browse files

- Update README.md (2a87a7a4b1b7ac58b428cca1ba1b367ea92b457a)


Co-authored-by: Sayak Paul <[email protected]>

Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -35,7 +35,7 @@ The FLUX.1 models are also available via API from the following sources
35
  To use `FLUX.1 [schnell]` with the 🧨 diffusers python library, first install or upgrade diffusers
36
 
37
  ```shell
38
- pip install git+https://github.com/huggingface/diffusers.git
39
  ```
40
 
41
  Then you can use `FluxPipeline` to run the model
@@ -51,7 +51,6 @@ prompt = "A cat holding a sign that says hello world"
51
  image = pipe(
52
  prompt,
53
  guidance_scale=0.0,
54
- output_type="pil",
55
  num_inference_steps=4,
56
  max_sequence_length=256,
57
  generator=torch.Generator("cpu").manual_seed(0)
 
35
  To use `FLUX.1 [schnell]` with the 🧨 diffusers python library, first install or upgrade diffusers
36
 
37
  ```shell
38
+ pip install -U diffusers
39
  ```
40
 
41
  Then you can use `FluxPipeline` to run the model
 
51
  image = pipe(
52
  prompt,
53
  guidance_scale=0.0,
 
54
  num_inference_steps=4,
55
  max_sequence_length=256,
56
  generator=torch.Generator("cpu").manual_seed(0)