Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
migrated
objects
technology
ai
laptop
sdxl 1,0
copilot pc
Instructions to use Tech-Meld/ai-laptops with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tech-Meld/ai-laptops 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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Tech-Meld/ai-laptops") prompt = " " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse files- 16509921.jpeg +0 -0
- AI_Laptops-10.safetensors +3 -0
- README.md +62 -0
16509921.jpeg
ADDED
|
AI_Laptops-10.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe849b85f2ecca8ff8783b38a0d8351f936aaf099f79b0f61771eaaa6acce960
|
| 3 |
+
size 228450068
|
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: bespoke-lora-trained-license
|
| 4 |
+
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=False&allowCommercialUse=RentCivit&allowDerivatives=True&allowDifferentLicense=False
|
| 5 |
+
tags:
|
| 6 |
+
- text-to-image
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- lora
|
| 9 |
+
- diffusers
|
| 10 |
+
- template:sd-lora
|
| 11 |
+
- migrated
|
| 12 |
+
- objects
|
| 13 |
+
- technology
|
| 14 |
+
- ai
|
| 15 |
+
- laptop
|
| 16 |
+
- sdxl 1,0
|
| 17 |
+
- copilot pc
|
| 18 |
+
|
| 19 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 20 |
+
instance_prompt:
|
| 21 |
+
widget:
|
| 22 |
+
- text: ' '
|
| 23 |
+
|
| 24 |
+
output:
|
| 25 |
+
url: >-
|
| 26 |
+
16509921.jpeg
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# AI Laptops
|
| 31 |
+
|
| 32 |
+
<Gallery />
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
## Model description
|
| 39 |
+
|
| 40 |
+
<p>This is a LoRA specialized in generating highly detailed and true to life images of AI "Copilot+ PCs" Laptops, it was trained on a collection of manually collected High resolution renders and shots of Laptops from various brands, and paired with manual description to ensure maximum quality and results, if you liked this LoRA, please don't hesitate to drop a donation to support My Work!</p>
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
## Download model
|
| 45 |
+
|
| 46 |
+
Weights for this model are available in Safetensors format.
|
| 47 |
+
|
| 48 |
+
[Download](/Tech-Meld/ai-laptops/tree/main) them in the Files & versions tab.
|
| 49 |
+
|
| 50 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 51 |
+
|
| 52 |
+
```py
|
| 53 |
+
from diffusers import AutoPipelineForText2Image
|
| 54 |
+
import torch
|
| 55 |
+
|
| 56 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
|
| 57 |
+
pipeline.load_lora_weights('Tech-Meld/ai-laptops', weight_name='AI_Laptops-10.safetensors')
|
| 58 |
+
image = pipeline('Your custom prompt').images[0]
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
| 62 |
+
|