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
add base model
#4
by linoyts HF Staff - opened
README.md
CHANGED
|
@@ -4,6 +4,8 @@ license: other
|
|
| 4 |
license_name: tencent-hunyuan-community
|
| 5 |
license_link: https://github.com/Tencent-Hunyuan/SRPO/blob/main/LICENSE.txt
|
| 6 |
pipeline_tag: text-to-image
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
<div align=“center” style=“font-family: charter;”>
|
|
|
|
| 4 |
license_name: tencent-hunyuan-community
|
| 5 |
license_link: https://github.com/Tencent-Hunyuan/SRPO/blob/main/LICENSE.txt
|
| 6 |
pipeline_tag: text-to-image
|
| 7 |
+
base_model:
|
| 8 |
+
- black-forest-labs/FLUX.1-dev
|
| 9 |
---
|
| 10 |
|
| 11 |
<div align=“center” style=“font-family: charter;”>
|