Layoutlmv2 inferencing google colab notebook

I am having trouble running this google colab notebook:

There are 2 blocks that are causing issues:

  1. !pip install pyyaml==5.1

: pyyaml doesn’t install

  1. from PIL import Image, ImageDraw, ImageFont

image =[‘image_path’])
image = image.convert(“RGB”)

Error is the File is not available in the creator’s google drive.

Has someone recently replicated this google colab notebook.