sayakpaul's picture
sayakpaul HF Staff
Upload folder using huggingface_hub
d47a7a3 verified
raw
history blame
363 Bytes
from diffusers.modular_pipelines import ModularPipelineBlocks
expander_qwen = ModularPipelineBlocks.from_pretrained(
"diffusers-internal-dev/qwen-prompt-expander",
trust_remote_code=True,
)
expander_qwen = expander_qwen.init_pipeline()
output = expander_qwen(prompt="a dog sitting by the river, watching the sunset")
print(f"{output.values['prompt']=}")