Commit
·
56f7c2c
1
Parent(s):
99d32d2
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,12 +2,11 @@ import torch
|
|
| 2 |
from diffusers import StableDiffusionPipeline
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
model_base = "
|
| 6 |
-
#model_base = "Krebzonide/LazyMixPlus" test different model checkpoint ----------------------------------------------
|
| 7 |
lora_model_path = "Krebzonide/3a0s-w68r-4qw1-0"
|
| 8 |
|
| 9 |
pipe = StableDiffusionPipeline.from_pretrained(model_base, torch_dtype=torch.float16, use_safetensors=True)
|
| 10 |
-
|
| 11 |
#pipe.unet.load_attn_procs(lora_model_path, use_auth_token=True) test accessing a private model----------------------
|
| 12 |
pipe.to("cuda")
|
| 13 |
|
|
|
|
| 2 |
from diffusers import StableDiffusionPipeline
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
model_base = "Krebzonide/LazyMixPlus"
|
|
|
|
| 6 |
lora_model_path = "Krebzonide/3a0s-w68r-4qw1-0"
|
| 7 |
|
| 8 |
pipe = StableDiffusionPipeline.from_pretrained(model_base, torch_dtype=torch.float16, use_safetensors=True)
|
| 9 |
+
pipe.unet.load_attn_procs(lora_model_path) working, commented to text base model------------------------------------
|
| 10 |
#pipe.unet.load_attn_procs(lora_model_path, use_auth_token=True) test accessing a private model----------------------
|
| 11 |
pipe.to("cuda")
|
| 12 |
|