When I tried to update the progress bar based on FileSelector’s change, the file transfer starts earlier than activate_upload_status in an example below. Is there any way to first get the status change of FileSelecter and do some tasks i.e. change progress bar status, then trigger the file transfer?
If I have a bit bigger file like 80MB, it takes more than 1min to transfer depending on the upload speed. I would like to notify what is happening while a file is transferred. Right now, it seems just being stalled.
Class Dashboard(param.Parameterized): file_selector = param.FileSelector() progress = pn.widgets.Progress(active=False) @param.depends('file_selector', watch=True) def activate_upload_status(self): self.progress.active = True
I am trying to create a very simple panel dashboard deployed on a remote server where a user can select a file (csv) and show the value as dataframe.
It would be appreciated if you have any advice.