Instructions to use lsmpp/kontextrefiner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lsmpp/kontextrefiner with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lsmpp/kontextrefiner", 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
metadata
name: π Translating a New Language?
about: Start a new translation effort in your language
title: '[<languageCode>] Translating docs to <languageName>'
labels: WIP
assignees: ''
Hi!
Let's bring the documentation to all the -speaking community π.
Who would want to translate? Please follow the π€ TRANSLATING guide. Here is a list of the files ready for translation. Let us know in this issue if you'd like to translate any, and we'll add your name to the list.
Some notes:
- Please translate using an informal tone (imagine you are talking with a friend about Diffusers π€).
- Please translate in a gender-neutral way.
- Add your translations to the folder called
<languageCode>inside the source folder. - Register your translation in
<languageCode>/_toctree.yml; please follow the order of the English version. - Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue. Please ping @stevhliu for review.
- π If you'd like others to help you with the translation, you can also post in the π€ forums.
Thank you so much for your help! π€