sayakpaul HF Staff commited on
Commit
55c328c
·
verified ·
1 Parent(s): d47a7a3

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -0
README.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - modular-diffusers
4
+ ---
5
+ To test:
6
+
7
+ ```py
8
+ from diffusers.modular_pipelines import ModularPipelineBlocks
9
+
10
+ expander_qwen = ModularPipelineBlocks.from_pretrained(
11
+ "diffusers-internal-dev/qwen-prompt-expander",
12
+ trust_remote_code=True,
13
+ )
14
+ expander_qwen = expander_qwen.init_pipeline()
15
+ output = expander_qwen(prompt="a dog sitting by the river, watching the sunset")
16
+ print(f"{output.values['prompt']=}")
17
+ ```