mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-15 07:20:31 +08:00
disable broken API logging
This commit is contained in:
parent
c6c56c807a
commit
3bd737767b
@ -100,7 +100,6 @@ class Api:
|
||||
|
||||
self.router = APIRouter()
|
||||
self.app = app
|
||||
init_api_middleware(self.app)
|
||||
self.queue_lock = queue_lock
|
||||
self.add_api_route("/sdapi/v1/txt2img", self.text2imgapi, methods=["POST"], response_model=TextToImageResponse)
|
||||
self.add_api_route("/sdapi/v1/img2img", self.img2imgapi, methods=["POST"], response_model=ImageToImageResponse)
|
||||
|
Loading…
Reference in New Issue
Block a user