Skip to content

Commit

Permalink
fixed api endpoint for deoldify
Browse files Browse the repository at this point in the history
  • Loading branch information
jahangir091 committed Dec 14, 2023
1 parent aa6d364 commit 783167e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/sd-webui-deoldify/scripts/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
warnings.filterwarnings("ignore", category=FutureWarning, message="Arguments other than a weight enum or `None`.*?")

def deoldify_api(_: gr.Blocks, app: FastAPI):
@app.post("/deoldify/image")
@app.post("/sdwebui/ai/deoldify/image")
async def deoldify_image(
input_image: str = Body("",title="image input"),
render_factor: int = Body(35,title="render factor"),
Expand Down

0 comments on commit 783167e

Please sign in to comment.