Instructions to use W-Shuoyan/OSDEnhancer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use W-Shuoyan/OSDEnhancer with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("W-Shuoyan/OSDEnhancer", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a5b47ec05ad3560535dba2c33d3225137683f1874e29531c1fe192b5fbf76a1b
- Size of remote file:
- 509 MB
- SHA256:
- 329fe3b7c3c45bf09697de2903cadbc65b8b999f7b612d972484d1061b47aa69
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.