I am trying to write upload the file in Google Colaboratory and I'm going to write the code as below.
from google.colab import files
uploaded = files.upload()
But I am getting the below error to run the code in browser.
MessageError: TypeError: Cannot read property '_uploadFiles' of undefined
Please help me solve the issue.
Click on “Choose Files” then select and upload the file. Wait for the file to be 100% uploaded. You should see the name of the file once Colab has uploaded it. Finally, type in the following code to import it into a dataframe (make sure the filename matches the name of the uploaded file).
Well, if running on Brave Browser, i can confirm that turning down the shields will do the job.
Navigate to chrome://settings/content/cookies and turn off "block third-party cookies". It works for me!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With