Upload local files using Google Colab
问题 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... 回答1: 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