Flask tensorflow Pillow numpy