3 ms·
I recently used this to do a POC at my day job. I was able to demo a machine learning tool quite smoothly to executives. Later it was implemented in production
by rogue7 5y ago
I recently used this to do a POC at my day job. I was able to demo a machine learning tool quite smoothly to executives.
Later it was implemented in production with a regular stack (Flask + Vue).
Voila is really empowering for e.g. data scientists that are comfortable in a jupyter environment but aren't js wizards.
Running locally, I just love the reactivity it provides: you don't worry about sync between front-end and back-end, everything is propagated through websockets I believe (Jupyter is Tornado-based).
However, for production you might want to use another tool, since it (currently) executes every session in isolation, so every time an user connects it re-runs everything from scratch. Moreover, the round-trips to the server can be slow if you are e.g. in a different continent so this degrades the UX.
Here is an example of a small ML app I built with Voilà (this will probably crash due to HN hug of death™), and JAX on the backend: http://grad-descent.herokuapp.com/ http://grad-descent.herokuapp.com/