Added missing requirements
This commit is contained in:
parent
06b8267ff7
commit
dd03155777
3
Makefile
3
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:
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue