I am running the following simplified code from DoFn (ParDo)
from PIL import Image
img = Image.fromarray(array)
img.save() with gs:// drive does not work.
What would be the recommended way to save the img object on google drive as .png file
any advice is appreciated