Open toltoxgh opened 4 years ago
Hi, Voilà basically renders a Jupyter notebook. You can use the ipywidgets library which has a FileUpload widget
The Panel library also has an equivalent FileInput widget and even a FileSelector widget
hope this helps :) Alex-
Thanks @Alexboiboi for the answer!
@toliwa did you get a chance to try the FileUpload
widget?
Thanks @Alexboiboi
I followed the example at FileUpload widget and opened the notebook with voila, and uploader.value
displays {}
, even after I use the FileUpload and select a file.
Would it be possible to provide a minimal notebook that can be used in voila that has a basic file input and file download/output option?
Thanks!
@toliwa the gpx-viewer example in the Voila Gallery uses the FileUpload
widget.
Is there a way in voila to have a data input field or an upload button to upload a data file (csv, json, ...)? Similarly, is there a way to provide a download of processed data (csv, json, ...)?
Voila seems really useful from what I have seen so far. But for some scientific applications, it makes sense to have a user go to voila in a browser, then upload or input some data, voila then renders the various visualizations of the input, then applies some back-end models, and also gives an output option in the browser to download the model predictions for the inputs.
Is this currently possible with voila?