Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def infer(
|
|
95 |
pipe = get_lora_sd_pipeline(base_model_name_or_path=model_id,
|
96 |
adapter_name="sticker_of_funny_cat_Pusheen")
|
97 |
pipe = pipe.to(device)
|
98 |
-
pipe.fuse_lora(lora_scale=lora_scale)
|
99 |
# prompt_embeds = encode_prompt(prompt, pipe.tokenizer, pipe.text_encoder)
|
100 |
# negative_prompt_embeds = encode_prompt(negative_prompt, pipe.tokenizer, pipe.text_encoder)
|
101 |
|
|
|
95 |
pipe = get_lora_sd_pipeline(base_model_name_or_path=model_id,
|
96 |
adapter_name="sticker_of_funny_cat_Pusheen")
|
97 |
pipe = pipe.to(device)
|
98 |
+
# pipe.fuse_lora(lora_scale=lora_scale)
|
99 |
# prompt_embeds = encode_prompt(prompt, pipe.tokenizer, pipe.text_encoder)
|
100 |
# negative_prompt_embeds = encode_prompt(negative_prompt, pipe.tokenizer, pipe.text_encoder)
|
101 |
|