Tuesday, September 13, 2022

AI/ML Google Collab - Prompting for file upload

from google.colab import files

uploaded = files.upload()


This shows up prompt like this 

Once uploaded, the file by default resides under the root of the Collab file system 



No comments:

Post a Comment