I adapted a neat DL paper I saw recently that allows you to compose a sky with a landscape picture. The full code uses video, but for this I just wanted to experiment with an image.
Let me know what you all think!
Side note: I’ve been having some problems with resource limits, so I’m experimenting with TTL and max_entries in @st.cache, anyone else have this problem?
Side note: I’ve been having some problems with resource limits, so I’m experimenting with TTL and max_entries in @st.cache , anyone else have this problem?
Yup! You should set up a TTL or you’ll invariably hit resource limits. This is something we’re actively thinking about, but for now that’s the solution.
As a new user, and especially for streamlit sharing, I had no idea this would kill the app. As soon as my post got popular it went down, which is counterproductive to both of us!
Some suggestions:
Default TTL and max_entry limits that would keep most image apps in bounds
Warnings when deploying a model with an unbounded cache
Notes to the user – the “APP IS CONSUMING TOO MANY RESOURCES” isn’t helpful in solving the problem, maybe a note suggestion caching might be an issue would go a long way.
Logs for when an app goes down. This should be pretty easy since you already have our email address and you can tell if an app is giving a resource error. Relying on twitter isn’t the best option.
Notes to the user – the “APP IS CONSUMING TOO MANY RESOURCES” isn’t helpful in solving the problem, maybe a note suggestion caching might be an issue would go a long way.