- Clone the project at <path_to_directory>
- Download model from https://smu-my.sharepoint.com/:u:/g/personal/ivanairsan_smu_edu_sg/EYRCeoG9NyFFr2j6356ZZJQBKZtrmt1LamLHG4kFlYVuZQ?e=BMcnur
- Put the unzipped model folder under <path_to_directory>/Auto-PR-Title
The structure is supposed to look like this:
-
Build the image:
docker build -t auto-pr-title .
-
Start a container:
docker run --name <container_name> -p 8080:8080 -v <path_to_directory>/Auto-PR-Title:/app -itd auto-pr-title
-
The web app can be accessed at localhost:8080
- Create a new pull request from
Pull Request
tab
- Copy the comparing branch URL, and then paste it to AutoPRTitle web app
-
Fill in issues and desciption details (if any)
-
Click
Generate PR Title
button -
You'll get the result in a few seconds