using local drive for colab code example
Example 1: google colab upload a file
from google.colab import files
files.upload()
Example 2: colab file selector
from google.colab import files
uploaded = files.upload()
from google.colab import files
files.upload()
from google.colab import files
uploaded = files.upload()