Instructions to use lichang0928/QA-MDT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lichang0928/QA-MDT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lichang0928/QA-MDT", 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
Add library name and links
#2
by nielsr HF Staff - opened
This PR adds the library_name to the metadata, specifying that this model uses the Diffusers library. It also adds links to the project page and the Github repository for easier access to the project details and code.
lichang0928 changed pull request status to merged