Update README.md
Browse files
README.md
CHANGED
@@ -33,14 +33,24 @@ Use the code below to get started with the model.
|
|
33 |
<details>
|
34 |
<summary> Click to expand </summary>
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
</details>
|
46 |
|
|
|
33 |
<details>
|
34 |
<summary> Click to expand </summary>
|
35 |
|
36 |
+
1. Git clone this model card
|
37 |
+
```
|
38 |
+
git clone https://huggingface.co/SakanaAI/EvoSDXL-JP-v1
|
39 |
+
```
|
40 |
+
2. Install packages
|
41 |
+
```
|
42 |
+
cd EvoSDXL-JP-v1
|
43 |
+
pip install -r requirements.txt
|
44 |
+
```
|
45 |
+
3. Run
|
46 |
+
```python
|
47 |
+
from evosdxl_jp_v1 import load_evosdxl_jp
|
48 |
+
|
49 |
+
prompt = "柴犬"
|
50 |
+
pipe = load_evosdxl_jp(device="cuda")
|
51 |
+
images = pipe(prompt, num_inference_steps=4, guidance_scale=0).images
|
52 |
+
images[0].save("image.png")
|
53 |
+
```
|
54 |
|
55 |
</details>
|
56 |
|