diff --git a/modules/api/endpoints.py b/modules/api/endpoints.py index 23d5e48ef..3d6f2381a 100644 --- a/modules/api/endpoints.py +++ b/modules/api/endpoints.py @@ -80,7 +80,7 @@ def post_interrogate(req: models.ReqInterrogate): caption = shared.interrogator.interrogate(image) return models.ResInterrogate(caption) elif req.model == "deepdanbooru": - from mobules import deepbooru + from modules import deepbooru caption = deepbooru.model.tag(image) return models.ResInterrogate(caption) else: