diff --git a/scripts/reactor_api.py b/scripts/reactor_api.py index 13108c2..d9e6853 100644 --- a/scripts/reactor_api.py +++ b/scripts/reactor_api.py @@ -192,10 +192,9 @@ def reactor_api(_: gr.Blocks, app: FastAPI): source_images: list[str] = Body([""],title="Source Face Image List"), name: str = Body("",title="Face Model Name"), compute_method: int = Body(0,title="Compute Method (Mean, Median, Mode)"), - shape_check: bool = Body(False,title="Check Embedding Shape"), ): images = [api.decode_base64_to_image(img) for img in source_images] - blend_faces(images, name, compute_method, shape_check, is_api=True) + blend_faces(images, name, compute_method, False, is_api=True) return {"facemodels": [os.path.split(model)[1].split(".")[0] for model in get_facemodels()]} try: