Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 1 Upload Button Not Working Locally #664

Open
anthonyalayo opened this issue Dec 11, 2024 · 1 comment
Open

Chapter 1 Upload Button Not Working Locally #664

anthonyalayo opened this issue Dec 11, 2024 · 1 comment

Comments

@anthonyalayo
Copy link

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?

@wangzeming666
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@anthonyalayo @wangzeming666 and others