fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

Chapter 1 Upload Button Not Working Locally

Open anthonyalayo opened this issue 11 months ago • 1 comments

Attempting to do the following:

#hide_output
uploader = widgets.FileUpload()
uploader

Doesn't actually upload anything when running locally. Can the proper steps be shared?

anthonyalayo avatar Dec 11 '24 01:12 anthonyalayo

Attempting to do the following:

#hide_output
uploader = widgets.FileUpload()
uploader

Doesn't actually upload anything when running locally. Can the proper steps be shared?

In the book, I found these words right down.

#hide

For the book, we can't actually click an upload button, so we fake it

uploader = SimpleNamespace(data = ['images/chapter1_cat_example.jpg'])

I think it means there is no button acctually.

wangzeming666 avatar Dec 12 '24 11:12 wangzeming666