Update README.md

This commit is contained in:
ai-modelscope
2025-06-05 05:31:40 +08:00
parent 6f4f933ba7
commit 78100ee247

View File

@ -12,6 +12,7 @@ sdk_version: 5.31.0
app_file: app.py
pinned: false
short_description: Generate styled image from reference image and external LoRA
library_name: diffusers
---
**OmniConsistency: Learning Style-Agnostic
@ -45,10 +46,10 @@ pip install -r requirements.txt
## Download
You can download the OmniConsistency model and pretrained LoRAs directly from [Hugging Face](https://huggingface.co/showlab/OmniConsistency).
You can download the OmniConsistency model and trained LoRAs directly from [Hugging Face](https://huggingface.co/showlab/OmniConsistency).
Or download using Python script:
### OmniConsistency Model
### Trained LoRAs
```python
from huggingface_hub import hf_hub_download
@ -75,7 +76,7 @@ hf_hub_download(repo_id="showlab/OmniConsistency", filename="LoRAs/Snoopy_rank12
hf_hub_download(repo_id="showlab/OmniConsistency", filename="LoRAs/Van_Gogh_rank128_bf16.safetensors", local_dir="./LoRAs")
hf_hub_download(repo_id="showlab/OmniConsistency", filename="LoRAs/Vector_rank128_bf16.safetensors", local_dir="./LoRAs")
```
### Pretrained LoRAs
### OmniConsistency Model
```python
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="showlab/OmniConsistency", filename="OmniConsistency.safetensors", local_dir="./Model")