Name 'widgets' is not defined & taking lot of time to run the fastbook ch-1 on colab

I am running the first chapter of fastbook on colab - while running this cell with uploader, it is giving me an error.

Also, why it is taking huge amount of time for me on colab to run the chapter-1?


It took me 32min and 47 mins where as in the book - it is just 14secs and 19secs ??

(I changed the runtime to GPU!)

See the recent post in v2 chat. Most likely the wrong torch version is installed. Also widgets will not work in colab.