Update README.md
Browse files
README.md
CHANGED
@@ -35,20 +35,20 @@ Use the code below to get started with the model.
|
|
35 |
|
36 |
1. Git clone this model card
|
37 |
```
|
38 |
-
git clone https://huggingface.co/SakanaAI/
|
39 |
```
|
40 |
2. Install packages
|
41 |
```
|
42 |
-
cd
|
43 |
pip install -r requirements.txt
|
44 |
```
|
45 |
3. Run
|
46 |
```python
|
47 |
-
from
|
48 |
|
49 |
-
prompt = "
|
50 |
-
pipe =
|
51 |
-
images = pipe(prompt,
|
52 |
images[0].save("image.png")
|
53 |
```
|
54 |
|
|
|
35 |
|
36 |
1. Git clone this model card
|
37 |
```
|
38 |
+
git clone https://huggingface.co/SakanaAI/Evo-Ukiyoe-v1
|
39 |
```
|
40 |
2. Install packages
|
41 |
```
|
42 |
+
cd Evo-Ukiyoe-v1
|
43 |
pip install -r requirements.txt
|
44 |
```
|
45 |
3. Run
|
46 |
```python
|
47 |
+
from evoukiyoe_v1 import load_evoukiyoe
|
48 |
|
49 |
+
prompt = "魚が泳いでいる。"
|
50 |
+
pipe = load_evoukiyoe(device="cuda")
|
51 |
+
images = pipe(prompt + "輻の浮世絵。", guidance_scale=8.0, num_inference_steps=40).images
|
52 |
images[0].save("image.png")
|
53 |
```
|
54 |
|