Skip to content

Commit 6402da6

Browse files
committed
update readme for api
1 parent 27b965c commit 6402da6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ API is avaliable on `/replacer/replace`
149149
fix_steps : bool = False
150150
inpainting_fill : int = 0
151151
sd_model_checkpoint : str = ""
152+
scripts : dict = {} # ControlNet and Soft Inpainting. See apiExample.py for example
152153
```
153154

154155
Avaliable options on `/replacer/avaliable_options`

scripts/replacer_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ReplaceRequest(BaseModel):
4444
fix_steps : bool = False
4545
inpainting_fill : int = 0
4646
sd_model_checkpoint : str = ""
47-
scripts : dict = {}
47+
scripts : dict = {} # ControlNet and Soft Inpainting. See apiExample.py for example
4848

4949

5050
@app.post("/replacer/replace")

0 commit comments

Comments
 (0)