File tree 2 files changed +484
-132
lines changed
2 files changed +484
-132
lines changed Original file line number Diff line number Diff line change @@ -82,31 +82,11 @@ pipeline = EasyPipelineForInpainting.from_huggingface(
82
82
## Search Civitai and Huggingface
83
83
84
84
``` python
85
- from pipeline_easy import (
86
- search_huggingface,
87
- search_civitai,
88
- )
89
-
90
- # Search Lora
91
- Lora = search_civitai(
92
- " Keyword_to_search_Lora" ,
93
- model_type = " LORA" ,
94
- base_model = " SD 1.5" ,
95
- download = True ,
96
- )
97
85
# Load Lora into the pipeline.
98
- pipeline.load_lora_weights(Lora)
99
-
86
+ pipeline.auto_load_lora_weights(" Detail Tweaker" )
100
87
101
- # Search TextualInversion
102
- TextualInversion = search_civitai(
103
- " EasyNegative" ,
104
- model_type = " TextualInversion" ,
105
- base_model = " SD 1.5" ,
106
- download = True
107
- )
108
88
# Load TextualInversion into the pipeline.
109
- pipeline.load_textual_inversion(TextualInversion , token = " EasyNegative" )
89
+ pipeline.auto_load_textual_inversion( " EasyNegative " , token = " EasyNegative" )
110
90
```
111
91
112
92
### Search Civitai
You can’t perform that action at this time.
0 commit comments