uploading file to google colab directory code example
Example 1: google colab how to upload a folder
from google.colab import drive
drive.mount('/content/gdrive')
Example 2: google colab upload a file
from google.colab import files
files.upload()