Add diffusers format weights

#1
by dn6 HF staff - opened
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
  language:
3
  - en
 
4
  license: apache-2.0
5
  tags:
6
  - text-to-image
7
  - image-generation
8
- - flux
9
  ---
10
 
11
  ![FLUX.1 [schnell] Grid](./schnell_grid.jpeg)
@@ -24,10 +24,9 @@ Developers and creatives looking to build on top of `FLUX.1 [schnell]` are encou
24
 
25
  ## API Endpoints
26
  The FLUX.1 models are also available via API from the following sources
27
- - [bfl.ml](https://docs.bfl.ml/) (currently `FLUX.1 [pro]`)
28
- - [replicate.com](https://replicate.com/collections/flux)
29
- - [fal.ai](https://fal.ai/models/fal-ai/flux/schnell)
30
- - [mystic.ai](https://www.mystic.ai/black-forest-labs/flux1-schnell)
31
 
32
  ## ComfyUI
33
  `FLUX.1 [schnell]` is also available in [Comfy UI](https://github.com/comfyanonymous/ComfyUI) for local inference with a node-based workflow.
@@ -36,7 +35,7 @@ The FLUX.1 models are also available via API from the following sources
36
  To use `FLUX.1 [schnell]` with the 🧨 diffusers python library, first install or upgrade diffusers
37
 
38
  ```shell
39
- pip install -U diffusers
40
  ```
41
 
42
  Then you can use `FluxPipeline` to run the model
@@ -52,6 +51,7 @@ prompt = "A cat holding a sign that says hello world"
52
  image = pipe(
53
  prompt,
54
  guidance_scale=0.0,
 
55
  num_inference_steps=4,
56
  max_sequence_length=256,
57
  generator=torch.Generator("cpu").manual_seed(0)
 
1
  ---
2
  language:
3
  - en
4
+ library_name: flux
5
  license: apache-2.0
6
  tags:
7
  - text-to-image
8
  - image-generation
 
9
  ---
10
 
11
  ![FLUX.1 [schnell] Grid](./schnell_grid.jpeg)
 
24
 
25
  ## API Endpoints
26
  The FLUX.1 models are also available via API from the following sources
27
+ 1. [bfl.ml](https://docs.bfl.ml/) (currently `FLUX.1 [pro]`)
28
+ 2. [replicate.com](https://replicate.com/collections/flux)
29
+ 3. [fal.ai](https://fal.ai/models/fal-ai/flux)
 
30
 
31
  ## ComfyUI
32
  `FLUX.1 [schnell]` is also available in [Comfy UI](https://github.com/comfyanonymous/ComfyUI) for local inference with a node-based workflow.
 
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
  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)
ae.safetensors → ae.sft RENAMED
File without changes
flux1-schnell.safetensors → flux1-schnell.sft RENAMED
File without changes