radames / gradio-rerun-viewer

Rerun viewer with Gradio
https://huggingface.co/spaces/radames/gradio_rerun
12 stars 2 forks source link

Slow loading without indicator #5

Open roym899 opened 3 months ago

roym899 commented 3 months ago

Not entirely sure if this is due to a slow connection on my side or not; but sometimes the viewer seems to be be loading quite slowly without any indicator that it is loading at all (just showing the white background).

It would be nice to add a progressbar similar to here.

radames commented 2 months ago

hi @roym899 , that's a great point! @jleibs @jprochazk do you know if we can listen to signals from rr = new WebViewer(); too add the progress bar to the custom component?

jprochazk commented 2 months ago

I think the best course of action here would be to add a loading spinner