Instructions to use Huage001/CLEAR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Huage001/CLEAR with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Huage001/CLEAR", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload model weights
Browse files
clear_local_16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ef5f3620c3494008f9e50d32e153579883c0620420a5805efb1276b7a4a2d10
|
| 3 |
+
size 3587341784
|
clear_local_16_down_4.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1368ae25a1957ae9fe839bd9b13a7d2954b1f490f152094db1b01ac2d204907
|
| 3 |
+
size 3587351440
|
clear_local_32.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bafc7619b7cdb41ff11370f031c3aeebc4add3508821c068e3bfbd9cda009828
|
| 3 |
+
size 3587341784
|
clear_local_8.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8355ef65cd2504b6754171d4b64c06854b38a07d8a2616c43d5893157211fff0
|
| 3 |
+
size 3587341784
|
clear_local_8_down_4.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01afb958ff1b0cb9e02cffb8fa074761648ae8cf5b8750bcaa3afa1081df4e3c
|
| 3 |
+
size 3587351440
|