rembg-webapp-tutorial
rembg-webapp-tutorial copied to clipboard
Update Dockerfile and app.py for improved model handling and logging
- 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
- Use gunicorn for serving the app instead of Flask's dev server