Closed WSH032 closed 4 months ago
I think this script doesn't have reloading feature. I wonder how you could do?
Set analytics_enabled=True
Then Reload UI
You will notice that
By the way, Gradio has already fixed it https://github.com/gradio-app/gradio/issues/4642
I use your repository while creating WSH032/sd-webui-fast-dataset-maker, and at that time I discovered this issue
I fix it by this way https://github.com/WSH032/dataset-tag-editor-standalone/blob/ec8617609c38888b24b04593751e2c2e056242d3/scripts/tab_main.py#L517C1-L520C76
And, your repository is really awesome.
I think this script doesn't have reloading feature.
Confirmed: I don't know anything about my script
Anyway, thank you so much for utilizing this repository.
By the way, Gradio has already fixed it https://github.com/gradio-app/gradio/issues/4642
I understand that it will be fixed, but I will look into it in more detail just to be sure. Thank you.
Great!
I still hava another issue, have you noticed that if don't enable thumbnails, loading will become incredibly slow
And once too many images are loaded, the tag filter will no longer work
Should I open another issue?
I've updated gradio to 4.28.3 in >= ver0.0.6. And the issue when loading many images may be solved. I'm grad if you can check it.
@toshiaki1729
https://github.com/toshiaki1729/dataset-tag-editor-standalone/blob/3ddf4c4a92a28fec9a5388792d73ba85db3cc437/scripts/interface.py#L160
If you set
And reload UI, you will notice that.
This is because the following two lists were not cleared after restarting
So it will add callback function for the previous Gradio.Blocks components. That will be found by Gradio analytics, and raise error.