Skip to content

Commit

Permalink
update example/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeukema committed Nov 23, 2023
1 parent 8328cdd commit 9ba22a1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions example/sample_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def sample_request() -> None:
REQUEST_BODY = {
"input_dir": SAMPLE_INPUT_DIR,
"output_dir": SAMPLE_OUTPUT_DIR,
"dnb_filename": "VNP02DNB_NRT.A2023081.1836.002.2023081233758.nc",
"geo_filename": "VNP03DNB_NRT.A2023081.1836.002.2023081232003.nc",
"cloud_filename": "CLDMSK_L2_VIIRS_SNPP.A2023081.1836.001.nrt.nc",
"dnb_filename": "VJ102DNB_NRT_2023_310_VJ102DNB_NRT.A2023310.0606.021.2023310104322.nc",
"geo_filename": "VJ103DNB_NRT_2023_310_VJ103DNB_NRT.A2023310.0606.021.2023310093233.nc",

}

response = requests.post(VVD_ENDPOINT, json=REQUEST_BODY, timeout=TIMEOUT_SECONDS)
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Note that the model and API are designed to run in resource constrained environm
Pull the latest package from [GitHub](https://github.com/allenai/vessel-detection-viirs/pkgs/container/vessel-detection-viirs)

```bash
docker pull ghcr.io/vulcanskylight/vessel-detection-viirs:latest
docker pull docker pull ghcr.io/allenai/vessel-detection-viirs:sha-d345c61
```

Once the package is downloaded, start the service with:
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fastapi==0.98.0
filelock==3.12.2
fonttools==4.40.0
gitdb==4.0.10
GitPython==3.1.31
GitPython==3.1.32
google-api-core==2.11.1
google-auth==2.21.0
google-cloud-core==2.3.2
Expand Down

0 comments on commit 9ba22a1

Please sign in to comment.