Skip to content
24 changes: 2 additions & 22 deletions examples/model_search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,31 +82,11 @@ pipeline = EasyPipelineForInpainting.from_huggingface(
## Search Civitai and Huggingface

```python
from pipeline_easy import (
search_huggingface,
search_civitai,
)

# Search Lora
Lora = search_civitai(
"Keyword_to_search_Lora",
model_type="LORA",
base_model = "SD 1.5",
download=True,
)
# Load Lora into the pipeline.
pipeline.load_lora_weights(Lora)

pipeline.auto_load_lora_weights("Detail Tweaker")

# Search TextualInversion
TextualInversion = search_civitai(
"EasyNegative",
model_type="TextualInversion",
base_model = "SD 1.5",
download=True
)
# Load TextualInversion into the pipeline.
pipeline.load_textual_inversion(TextualInversion, token="EasyNegative")
pipeline.auto_load_textual_inversion("EasyNegative", token="EasyNegative")
```

### Search Civitai
Expand Down
Loading