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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.