My Jupyter Notebook has the following code to upload an image to Colab:
from google.colab import files uploaded = files.upload()
I get prompted
Simpler Way:
As colab gives options to mount google drive
'drive/My Drive/'
code to check files
import glob glob.glob("drive/My Drive/your_dir/*.jpg")