Trying to upload local files using Google Collaboratory this way:
from google.colab import files uploaded = files.upload()
I get the following error:
Upload widget is only available when the cell has been executed in the current browser session. Please rerun this cell to enable.
I rerun the cell but it doesn't work...
Colaboratory lets you connect to a local runtime using Jupyter. This allows you to execute code on your local hardware and have access to your local file system.
On Google Drive, create a new folder and call it Kaggle. Open this folder by double-clicking on it and upload kaggle. json file. Next, open a Colab notebook and run the code below to mount the Drive onto Colab's file system.
It sounds like third-party cookies may be disabled in your browser, see https://github.com/googlecolab/colabtools/issues/17.
The setting is under chrome://settings/content/cookies.
You can whitelist the following cookies in Chrome:
https://[*.]googleusercontent.com:443
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