Krebzonide commited on
Commit
f022e2c
·
1 Parent(s): 975497a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,11 +3,11 @@ 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
 
13
  css = """
 
3
  import gradio as gr
4
 
5
  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
+ #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
 
13
  css = """