moved the flask inventory to webui