This project is a web application that allows you to transfer make-up from one photo to another using the Stable Diffusion. It is built using Streamlit, a Python library for creating web applications with minimal effort.
To run this application on your local machine, follow these steps:
- Clone the Repository: Start by cloning this repository to your local machine using Git.
git clone https://github.com/konstantgr/smatched.git
- Install Dependencies: Navigate to the project directory and use Poetry to install the project dependencies.
cd smatched
poetry shell
poetry install
- Run the Streamlit App: Once the dependencies are installed, you can run the Streamlit web application.
poetry run streamlit run web/app.py
Open your web browser and go to the URL provided by Streamlit, typically http://localhost:8501. You can now use the web application to transfer makeup from one photo to another.
- Upload the source image containing the makeup you want to transfer.
- Upload the target image where you want to apply the makeup.
- Adjust any relevant parameters or settings (if available).
- Click the "Generate makeup" button.
- The result, with makeup transferred to the target image, will be displayed on the screen.
- You can download the resulting image for your use.