This is a Streamlit application that uses AI to remove the background from uploaded selfie photos.
- Clone the repository:
git clone https://github.com/<username>/<repository>.git
- Install the required packages:
pip install -r requirements.txt
- Run the application:
streamlit run app.py
-
Upload a photo by clicking on the "Upload foto disini" button.
-
Select the desired background color from the dropdown menu.
-
Click the "Hapus Background" button to remove the background using AI.
-
Wait for the AI to process the photo and display the result.
-
Expand the "Berhasil hapus background!" section to view the edited photo.
-
Download the edited photo by clicking on the "Download" button.