You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My JavaScript knowledge isn't too extensive so I'm winging this.
But basically right now the page loads:
Text (HTML etc)
Data - the entire Supabase database gets loaded into memory (because it's only ~100 rows) to enable fast querying - if this doesn't happen, the database gets queried with every image upload and takes ~2 seconds per query rather than 2 seconds at the start of the page load
Models - these load fast since they're part of app itself (though a future test would be to see if pinging an API would be faster than using a model in the browser)
But because we load a few things at the start of the webpage, interacting with the "Upload image" button is ~1-2 seconds delayed, I'd rather this be almost instant.
So you can:
Upload an image as soon as the page loads
Everything else loads in the background whilst images are being uploaded
The image gets loaded/prediction made simulataneously
All of the above happening so the experience is seamless.
Going to have to look into page loading times for this one.
I'd like the upload image function to be available as soon as the page loads.
Right now it's about a second or two behind the page itself.
Not a huge deal but experience wise, it could be better.
The text was updated successfully, but these errors were encountered: