but to see the voila output we need to:
click on launch binder --> click on the jupyter notebook --> click on voila
When I deployed the repository in mybinder I used:
GitHub: https://github.com/enricodata/emotion-faces/
Path to a notebook file (optional): /voila/render/emotion_classifier.ipynb
When you are entering the input to the text box labeled Path to a notebook file (optional), you want to change the dropdown from File to URL. The label above the box will change to URL to open (optional). After you click launch, you will be redirected to a deployment page with urlPath instead of filePath in the URL.
Thanks for the comment. It happened to me too, but I forgot to add it in the steps. @Albertotono Hey Alberto, I think you might wanna add a step for Christian’s comment on changing File to URL. I edited my binder tips post (in lessons 2) to reflect the addition.
Thanks a lot for your help, I don’t know why it still not working with me. It’s my first time to use widgets, and it’s frustrating! I got another error because on-click is not defined. Although I have this line in my code:
from ipywidgets import widgets
I have not use observe method before. If you update btn_upload.observe(on_click, names=['data']) to btn_upload.on_click(on_click_classify), it should work.
You pass a function on_click_classify that will be called when you click on the button.
I went through this page and it didn’t work, maybe it’s Google colab problem, did it work with paperspace? I don’t want to spend doing all the project again and don’t work
thanks for these steps @Albertotono - I followed the steps here, however when trying to run the notebook on binder (step4),I seem to get an error that states "can’t get attribute. ‘_ConstantFunc’ on <module ‘fastai2.learner’ from ‘/srv/conda/envs/notebook/lib/python3.7/site-packages/fastai2/learner.py’>