Upload widget is only available when the cell has been executed in the current browser session.

用goolecolab在jupterlab里面使用 file.upload()上传照片为啥显示这个

img

就是选取文件点不了,设置允许第三方cookie也不行 浏览器之前是safari后来换成chrome也不行
就是这部分代码

import numpy as np
from google.colab import files
from tensorflow.keras.preprocessing import image
uploaded = files.upload()
  # predicting images