Instructions to use Jl-wei/ui-diffuser-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Jl-wei/ui-diffuser-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Jl-wei/ui-diffuser-v2") prompt = "Mobile app:" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ instance_prompt: "Mobile app:"
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# UI-Diffuser-V2
|
| 16 |
-
UI-Diffuser-V2 is fine tuned from "stabilityai/stable-diffusion-2-base" with the [
|
| 17 |
|
| 18 |
A demo using diffusion model and large language model for UI generation is available at https://github.com/Jl-wei/ai-gen-ui
|
| 19 |
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# UI-Diffuser-V2
|
| 16 |
+
UI-Diffuser-V2 is fine tuned from "stabilityai/stable-diffusion-2-base" with the [SCapRepo dataset](https://paperswithcode.com/dataset/gpscap) for mobile UI generation.
|
| 17 |
|
| 18 |
A demo using diffusion model and large language model for UI generation is available at https://github.com/Jl-wei/ai-gen-ui
|
| 19 |
|