Hi! I’ve been facing a strange problem when updating Streamlit Spaces, most recently this one: vivien/depth-aware-caption .
The normal behavior of the Space is the one shown in this screenshot. However after I updated the Space, it stopped working well: most of the time, not all elements (in particular the picture) are properly displayed and when they are, the app is very slow.
I thought first that this was due to a memory leak or a problem with the Streamlit cache but:
- if I restart the Space, the problem is there right from the beginning
- if I recreate a new Space with exactly the same code, it works OK (cf. vivien/depth-aware-caption2 [1])
- everything is fine when testing locally
It also happened to me with vivien/zero-shot-classifier-GPT2-2 (there is “-2” at the end of the Space’s URL because I killed the first Space and recreated an identical one) and vivien/semanticsearch. Both Spaces work fine now.
Thank you in advance for any help or insight you could provide! (and by the way, thank you for Spaces which is a great tool)
[1]: Sorry for not providing the link. As a new forum user, I can only include two links