Update README.md
Browse files
README.md
CHANGED
|
@@ -108,12 +108,16 @@ Go to [ComfyUI-Animemory-Loader](https://github.com/animEEEmpire/ComfyUI-Animemo
|
|
| 108 |
- The pipeline has not been merged yet. Please use the following code to setup the environment.
|
| 109 |
```shell
|
| 110 |
git clone https://github.com/huggingface/diffusers.git
|
| 111 |
-
cd ..
|
| 112 |
git clone https://github.com/animEEEmpire/diffusers_animemory
|
| 113 |
cp diffusers_animemory/* diffusers -r
|
| 114 |
-
|
|
|
|
| 115 |
cd diffusers
|
| 116 |
pip install .
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
```
|
| 118 |
- And then, you can use the following code to generate images.
|
| 119 |
|
|
|
|
| 108 |
- The pipeline has not been merged yet. Please use the following code to setup the environment.
|
| 109 |
```shell
|
| 110 |
git clone https://github.com/huggingface/diffusers.git
|
|
|
|
| 111 |
git clone https://github.com/animEEEmpire/diffusers_animemory
|
| 112 |
cp diffusers_animemory/* diffusers -r
|
| 113 |
+
|
| 114 |
+
# Method 1: Re-install diffusers. (Recommended)
|
| 115 |
cd diffusers
|
| 116 |
pip install .
|
| 117 |
+
|
| 118 |
+
# Method 2: Call it locally. Change `YOUR_PATH` to the directory where you just cloned `diffusers` and `diffusers_animemory`.
|
| 119 |
+
import sys
|
| 120 |
+
sys.path.insert(0, 'YOUR_PATH/diffusers/src')
|
| 121 |
```
|
| 122 |
- And then, you can use the following code to generate images.
|
| 123 |
|