Instructions to use 24aittl/refine_core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use 24aittl/refine_core with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("24aittl/refine_core", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 1fa9df2bb4f455b967d33f3034cad94f2237cdb86b2b25466dc1fcd573fe494c
- Size of remote file:
- 2.5 GB
- SHA256:
- d44a7e4b4171c52a62d22ad0e76f180509b9953d596178c2567e6c97a13faf95
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.