This portion was necessary for testing my program on my machine (Windows), but then, before uploading the notebook to github for app deployment (myBinder) I should remove that portion of code.
Really interested in this. But can you be more specific? I added this piece of code but nothing worked for me. Can you re explain for those who might come across this issue?
Hi,
I downloaded the code from Paperspace and ran it locally on my machine (Windows) using Jupyter Notebook. And for it to run on a Windows environment, I had to add the following piece:
Note that I had also installed Voila on my local environment/machine.
I was then able to test the code using Voila on my local machine.
The reason I decided to test on my local machine is that, for some reason Voila wasn’t working for me in Paperspace.
Now, after testing the code in my local machine, I had to remove piece of code presented above before uploading the Bear classifier code onto github and using myBinder.