Accessing image uploaded with FileUpload function

Hi, I’m new to fastai and deep learning in general. I’ve created an image classification program that takes an image from a given path and determines who’s face in is the image. I want to be able to upload an image directly unto Jupyter notebooks for which I use the [upload_widget = widgets.FileUpload()] function. How do I access and manipulate the uploaded file?

Please see these instructions and see if they help resolve your issue. If you are not using Colab and have specific errors related to your local machine (or other online platform such as Kaggle, Paperspace, etc.), please provide details/screenshots on the machine you are using and the errors you are receiving so folks can better help you troubleshoot.