Spaces:
Sleeping
Sleeping
info
Browse files
README.md
CHANGED
@@ -21,6 +21,7 @@ You need CUDA and Python 3.10, Mac with an M1/M2/M3 chip or Intel Arc GPU
|
|
21 |
`TIMEOUT`: limit user session timeout
|
22 |
`SAFETY_CHECKER`: disabled if you want NSFW filter off
|
23 |
`MAX_QUEUE_SIZE`: limit number of users on current app instance
|
|
|
24 |
|
25 |
### image to image
|
26 |
|
@@ -31,6 +32,18 @@ pip3 install -r requirements.txt
|
|
31 |
uvicorn "app-img2img:app" --host 0.0.0.0 --port 7860 --reload
|
32 |
```
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
### text to image
|
35 |
|
36 |
```bash
|
|
|
21 |
`TIMEOUT`: limit user session timeout
|
22 |
`SAFETY_CHECKER`: disabled if you want NSFW filter off
|
23 |
`MAX_QUEUE_SIZE`: limit number of users on current app instance
|
24 |
+
`TORCH_COMPILE`: enable if you want to use torch compile for faster inference
|
25 |
|
26 |
### image to image
|
27 |
|
|
|
32 |
uvicorn "app-img2img:app" --host 0.0.0.0 --port 7860 --reload
|
33 |
```
|
34 |
|
35 |
+
### image to image ControlNet Canny
|
36 |
+
|
37 |
+
Based pipeline from [taabata](https://github.com/taabata/LCM_Inpaint_Outpaint_Comfy)
|
38 |
+
|
39 |
+
```bash
|
40 |
+
python -m venv venv
|
41 |
+
source venv/bin/activate
|
42 |
+
pip3 install -r requirements.txt
|
43 |
+
uvicorn "app-controlnet:app" --host 0.0.0.0 --port 7860 --reload
|
44 |
+
```
|
45 |
+
|
46 |
+
|
47 |
### text to image
|
48 |
|
49 |
```bash
|