Skip to content

Commit d90cb57

Browse files
committed
added test images to repo with temporary urls for tests, upgraded pyproject version
1 parent e07154b commit d90cb57

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

nucleus/constants.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
MODEL_RUN_ID_KEY = "model_run_id"
5050
NAME_KEY = "name"
5151
NEW_ITEMS = "new_items"
52-
NUCLEUS_ENDPOINT = "https://jihan-yin-api.devbox.internal.scale.com/v1/nucleus"
53-
# NUCLEUS_ENDPOINT = "https://api.scale.com/v1/nucleus"
52+
NUCLEUS_ENDPOINT = "https://api.scale.com/v1/nucleus"
5453
ORIGINAL_IMAGE_URL_KEY = "original_image_url"
5554
POSITION_KEY = "position"
5655
PREDICTIONS_IGNORED_KEY = "predictions_ignored"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude = '''
2121

2222
[tool.poetry]
2323
name = "scale-nucleus"
24-
version = "0.1.13"
24+
version = "0.1.14"
2525
description = "The official Python client library for Nucleus, the Data Platform for AI"
2626
license = "MIT"
2727
authors = ["Scale AI Nucleus Team <nucleusapi@scaleapi.com>"]

tests/helpers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515

1616
TEST_IMG_URLS = [
17-
"https://homepages.cae.wisc.edu/~ece533/images/airplane.png",
18-
"https://homepages.cae.wisc.edu/~ece533/images/arctichare.png",
19-
"https://homepages.cae.wisc.edu/~ece533/images/baboon.png",
20-
"https://homepages.cae.wisc.edu/~ece533/images/barbara.png",
21-
"https://homepages.cae.wisc.edu/~ece533/images/cat.png",
17+
"https://d3jkudlc7u70kh.cloudfront.net/airplane-fact.jpg",
18+
"https://www.activewild.com/wp-content/uploads/2016/01/Arctic-Hare-Facts-For-Kids-fb.jpg",
19+
"https://thumbs-prod.si-cdn.com/Gd4SBf-ePT2OK6HDdW6Q3uOh5c8=/fit-in/1600x0/https://public-media.si-cdn.com/filer/23/a9/23a9a987-df8e-4d22-ac96-93f9091f9b8f/media_baboons_07_-_photo_by_catherine_markham.jpg",
20+
"https://prod-images.tcm.com/Master-Profile-Images/BarbaraStanwyck.jpg",
21+
"https://thumbs-prod.si-cdn.com/nnJARGtKrLypH4y3Vov2zGTG4xw=/fit-in/1600x0/filters:focal(554x699:555x700)/https://public-media.si-cdn.com/filer/a4/04/a404c799-7118-459a-8de4-89e4a44b124f/img_1317.jpg",
2222
]
2323

2424
TEST_DATASET_ITEMS = [

tests/testdata/airplane.jpeg

45.5 KB
Loading

tests/testdata/arctichare.jpeg

98.5 KB
Loading

tests/testdata/baboon.jpeg

231 KB
Loading

tests/testdata/barbara.jpeg

515 KB
Loading

tests/testdata/cat.jpeg

310 KB
Loading

0 commit comments

Comments
 (0)