rembg-webapp-tutorial
rembg-webapp-tutorial copied to clipboard
a simple webapp with rembg
changed base image to pull from to a newer version of python alpine, both updating the from image, but also reducing the total image with ~1gb Also added the #3...
with id='dropZone' had the default behavior of only opening the image in the new tab instead of adding the image to upload. Adding this piece of code in 'dragover' event...
📦 [download and add model durring build.](https://github.com/codediodeio/rembg-webapp-tutorial/commit/1db5d656c23ac8a584d02d856ce6790cc5f06401) 🐛 [fixed bug with dragging image anywhere](https://github.com/codediodeio/rembg-webapp-tutorial/commit/a99cf9a93e97b32a7ee1fbe0fddcdb0f64aedf25)
Fixed: upon manually selecting a file for upload, the file selection dialog would erroneously prompt the user to select a file again
This commit changes the `Dockerfile` so that the training weights are fetched during the image build. This saves users the intermediate step of manually downloading the weights file then building...
Watch [your video](https://youtu.be/cw34KMPSt4k) and had a few ideas/suggestions for the repo. It looks like some of them are also suggested in other PRs already (should've taken a look to existing...
- Upgrade Python base image to 3.13-slim - Add logging configuration and model caching in app.py - Ensure model is downloaded only if not present - Install onnxruntime in requirements.txt...
Fixed dockerfile and pip requirements file. Since it's a little old rn i fixed it