From 1748c781c2d500a623dfffb7bb2dde64f6b38b23 Mon Sep 17 00:00:00 2001 From: Aditya Pulipaka Date: Fri, 14 Nov 2025 17:08:43 -0600 Subject: [PATCH] Update readme.md --- part3/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/part3/readme.md b/part3/readme.md index 83b978d..5a975c0 100644 --- a/part3/readme.md +++ b/part3/readme.md @@ -4,7 +4,7 @@ Run ```docker-compose up```. Ensure ```docker-compose``` is installed by running ```sudo apt install docker-compose``` beforehand. ## Option 2: Build Docker Image -run ```docker build -t {username}/{imagename} .``` in this directory. The required files are all included in this directory, so just ensure all files in the github repo are cloned properly. +run ```docker build -t {username}/{imagename} .``` in this directory. I used ```adipu24/project02```. The required files are all included in this directory, so just ensure all files in the github repo are cloned properly. ## Example requests A ```GET``` request can be sent to the ```/summary``` endpoint to retrieve a model summary including the purpose of the model, the version, and the number of parameters it has. @@ -12,4 +12,4 @@ A ```GET``` request can be sent to the ```/summary``` endpoint to retrieve a mod A ```POST``` request can be sent to the ```/inference``` endpoint, with an image sent as a binary message payload under the files attribute of the request. The response will be a JSON similar to ```{"prediction": "damage" (or "no_damage")}``` # Other info -The inference server runs on port 5000, and the docker-compose.yml file ensures that port 5000 is forwarded to the running container. This was tested with the grader code and it functions as expected. \ No newline at end of file +The inference server runs on port 5000, and the docker-compose.yml file ensures that port 5000 is forwarded to the running container. This was tested with the grader code and it functions as expected.