This is a basic API to be used with logobot
You need a model and the dataset in order to run the scheduler.
Run configure.py --help to see the options available
-
Run the server
gunicorn server:app -
Run
logobotin the branchsuggestions -
Run the celery task scheduler
celery -A tasks worker --loglevel=info
There are two endpoints available.
start_task/ expects form data with an svg image in text format, returns task_id
/task_status/{task_id} return 201 if task is finished, 200 otherwise