Skip to content

Commit

Permalink
Bump Version to 0.9.1 (#76)
Browse files Browse the repository at this point in the history
* bump version to 0.9.1

* fix linting
  • Loading branch information
blaise-muhirwa authored Jun 30, 2023
1 parent bd0f361 commit 9426378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
{include = "**/*.py", from = "src"},
]
readme = "README.md"
version = "0.9.0"
version = "0.9.1"

[tool.poetry.dependencies]
certifi = "^2021.10.8"
Expand Down
5 changes: 3 additions & 2 deletions test/integration/test_groundlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,15 @@ def submit_noisy_image(image, label=None):
# wait to give enough time to train
wait_period = 30 # seconds
num_wait_periods = 4 # 2 minutes total
result_confidence = 0.6
for _ in range(num_wait_periods):
time.sleep(wait_period)
new_dog_query = submit_noisy_image(dog)
new_cat_query = submit_noisy_image(cat)
if new_cat_query.result.confidence < 0.6 or new_cat_query.result.label == "YES":
if new_cat_query.result.confidence < result_confidence or new_cat_query.result.label == "YES":
# If the new query is not confident enough, we'll try again
continue
elif new_dog_query.result.confidence < 0.6 or new_dog_query.result.label == "NO":
elif new_dog_query.result.confidence < result_confidence or new_dog_query.result.label == "NO":
# If the new query is not confident enough, we'll try again
continue
else:
Expand Down

0 comments on commit 9426378

Please sign in to comment.