Upload sd_env.sh
Browse files
sd_env.sh
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
cd
|
| 3 |
+
cd sd
|
| 4 |
+
python -m venv venv
|
| 5 |
+
source venv/bin/activate
|
| 6 |
+
python -m pip install --upgrade pip
|
| 7 |
+
pip install git+https://gitcode.net/mirrors/openai/CLIP.git
|
| 8 |
+
pip install open_clip_torch
|
| 9 |
+
pip install xformers
|
| 10 |
+
pip install -r requirements.txt
|