diff --git a/services/nsfw_detection/coffeehouse_nsfw/server.py b/services/nsfw_detection/coffeehouse_nsfw/server.py index b3b1e1fb..b02c8e69 100644 --- a/services/nsfw_detection/coffeehouse_nsfw/server.py +++ b/services/nsfw_detection/coffeehouse_nsfw/server.py @@ -43,6 +43,7 @@ class Server(object): f.write(base64.b64decode(post_data["input"])) results = self.classifier.classify(tmp_image)[tmp_image] + os.remove(tmp_image) response = { "status": True,