Instructions to use tencent/SRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tencent/SRPO with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tencent/SRPO", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Improve model card: add pipeline tag, correct library_name, and fix abstract heading typo
Verified signatureThis PR improves the model card by: - Updating `library_name` to `diffusers` to correctly reflect the model's compatibility with the Hugging Face `diffusers` library, which is evidenced by the provided inference snippet (`from diffusers import FluxPipeline`). This ensures the interactive code snippet on the model page functions correctly. - Adding the `pipeline_tag: text-to-image` to enhance discoverability on the Hugging Face Hub under the appropriate pipeline. - Correcting the typo in the abstract heading from `e06d555
-
Update README.md
Verified signaturee0f7653 -
Update README.md
Verified signatureb1e1f6f -
Delete diffusion_pytorch_model_onlinehps.safetensors
Verified signatureRename checkpoint95b86e7 -
Update README.md
Verified signature99ac944 -
Update README.md
Verified signaturea7fec0e -
Upload folder using huggingface_hub
Verified signature08233c2 -
upload
root23735c3
-
Update README.md
44cee3d -
Update README.md
14feea6f -
Update README.md
4c7c771 -
Update README.md
73e5e1d -
Upload README.md
24802fb
-
Upload LICENSE.txt
license405ba40 -
initial commit
ebfe18f