Instructions to use gerver/keyli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gerver/keyli with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("XLabs-AI/flux-RealismLora", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("gerver/keyli") prompt = "A photo of a woman in a floral dress" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files123456789101112131415161728 unmodified lines4647484950---tags:- text-to-image- stable-diffusion- lora- diffusers- template:sd-lora- inferencewidget:- text: 'A photo of a woman in a floral dress'output:url: images/2024-07-04_17-42-32_3003-enhanced (1).jpgbase_model: XLabs-AI/flux-RealismLorainstance_prompt: "A high-resolution photo of a woman standing in a city street at night, wearing a floral dress"---# Keyli28 unmodified lines# Example prompt to generate an imageimage = pipeline("A high-resolution photo of a woman standing in a city street at night, wearing a floral dress").images[0]image.save("generated_image.png")123456789101112131415161718192028 unmodified lines49505152---tags:- text-to-image- stable-diffusion- lora- diffusers- template:sd-lora- inferencewidget:- text: A photo of a woman in a floral dressoutput:url: images/2024-07-04_17-42-32_3003-enhanced (1).jpgbase_model: XLabs-AI/flux-RealismLorainstance_prompt: >-A high-resolution photo of a woman standing in a city street at night, wearinga floral dresslicense: apache-2.0---# Keyli28 unmodified lines# Example prompt to generate an imageimage = pipeline("A high-resolution photo of a woman standing in a city street at night, wearing a floral dress").images[0]image.save("generated_image.png")
README.md+14-12