diff --git a/Makefile b/Makefile index cbd4aeef..f1a8aab0 100644 --- a/Makefile +++ b/Makefile @@ -155,6 +155,9 @@ install_translation: cd services/translation; python3 setup.py install install_nsfw: + python3 -m pip install opencv-python + python3 -m pip install scikit-image + python3 -m pip install pydload cd services/nsfw_detection; python3 setup.py install install_ping: diff --git a/services/ping_service/coffeehouse_ping/server.py b/services/ping_service/coffeehouse_ping/server.py index dedf987b..bb864b77 100644 --- a/services/ping_service/coffeehouse_ping/server.py +++ b/services/ping_service/coffeehouse_ping/server.py @@ -14,6 +14,7 @@ class Server(object): self.web_application = web.Application() self.web_application.add_routes( [web.post('/', self.ping)] + [web.get('/', self.ping)] ) async def ping(self, request):