mirror of
https://www.modelscope.cn/showlab/OmniConsistency.git
synced 2026-04-02 20:52:53 +08:00
Update README.md
This commit is contained in:
@ -12,6 +12,7 @@ sdk_version: 5.31.0
|
|||||||
app_file: app.py
|
app_file: app.py
|
||||||
pinned: false
|
pinned: false
|
||||||
short_description: Generate styled image from reference image and external LoRA
|
short_description: Generate styled image from reference image and external LoRA
|
||||||
|
library_name: diffusers
|
||||||
---
|
---
|
||||||
|
|
||||||
**OmniConsistency: Learning Style-Agnostic
|
**OmniConsistency: Learning Style-Agnostic
|
||||||
@ -45,10 +46,10 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
## Download
|
## 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:
|
Or download using Python script:
|
||||||
|
|
||||||
### OmniConsistency Model
|
### Trained LoRAs
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from huggingface_hub import hf_hub_download
|
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/Van_Gogh_rank128_bf16.safetensors", local_dir="./LoRAs")
|
||||||
hf_hub_download(repo_id="showlab/OmniConsistency", filename="LoRAs/Vector_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
|
```python
|
||||||
from huggingface_hub import hf_hub_download
|
from huggingface_hub import hf_hub_download
|
||||||
hf_hub_download(repo_id="showlab/OmniConsistency", filename="OmniConsistency.safetensors", local_dir="./Model")
|
hf_hub_download(repo_id="showlab/OmniConsistency", filename="OmniConsistency.safetensors", local_dir="./Model")
|
||||||
|
|||||||
Reference in New Issue
Block a user