sayakpaul HF Staff commited on
Commit
afc6610
·
verified ·
1 Parent(s): 490fd36

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -1,7 +1,9 @@
1
  Original model: [Qwen/Qwen-Image](https://hf.co/Qwen/Qwen-Image)
2
 
3
- Code to run this:
4
 
 
 
 
5
  ```py
6
  from diffusers import QwenImageTransformer2DModel, GGUFQuantizationConfig, DiffusionPipeline
7
  import torch
@@ -28,5 +30,6 @@ image = pipe(
28
  ).images[0]
29
  image.save("gguf_qwen.png")
30
  ```
 
31
 
32
  Make sure you have Diffusers installed from `main`.
 
1
  Original model: [Qwen/Qwen-Image](https://hf.co/Qwen/Qwen-Image)
2
 
 
3
 
4
+ <details>
5
+ <summary>Code to run this</summary>
6
+
7
  ```py
8
  from diffusers import QwenImageTransformer2DModel, GGUFQuantizationConfig, DiffusionPipeline
9
  import torch
 
30
  ).images[0]
31
  image.save("gguf_qwen.png")
32
  ```
33
+ </details>
34
 
35
  Make sure you have Diffusers installed from `main`.