Spaces:
Running
on
T4
Running
on
T4
Krebzonide
commited on
Commit
•
5fe1df2
1
Parent(s):
f022e2c
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ model_base = "Krebzonide/LazyMixPlus"
|
|
6 |
lora_model_path = "Krebzonide/94g1-jemz-41r2-0"
|
7 |
|
8 |
pipe = StableDiffusionPipeline.from_pretrained(model_base, torch_dtype=torch.float16, use_safetensors=True)
|
9 |
-
|
10 |
-
pipe.unet.load_attn_procs(lora_model_path, use_auth_token=True) #test accessing a private model----------------------
|
11 |
pipe.to("cuda")
|
12 |
|
13 |
css = """
|
|
|
6 |
lora_model_path = "Krebzonide/94g1-jemz-41r2-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 test stuff------------------------------------------
|
10 |
+
#pipe.unet.load_attn_procs(lora_model_path, use_auth_token=True) #test accessing a private model----------------------
|
11 |
pipe.to("cuda")
|
12 |
|
13 |
css = """
|