Skip to content

Commit

Permalink
+= blue-objects - kamangir/bolt#746
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Sep 7, 2024
1 parent c75c5b0 commit 1ab835f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ to use on [AWS SageMaker](https://aws.amazon.com/sagemaker/) replace `<plugin-na

[![pylint](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/openai-commands.svg)](https://pypi.org/project/openai-commands/)

built by 🪄 [`abcli-9.275.1-blue-objects-attempt-2-2024-09-05-07214`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.156.1`](https://github.com/kamangir/openai-commands).
built by 🪄 [`abcli-9.275.1-blue-objects-attempt-2-b-2024-09-07-99677`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.157.1`](https://github.com/kamangir/openai-commands).
2 changes: 1 addition & 1 deletion openai_commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

DESCRIPTION = f"{ICON} a command interface to the OpenAI API."

VERSION = "3.156.1"
VERSION = "3.157.1"

REPO_NAME = "openai-commands"

Expand Down
2 changes: 1 addition & 1 deletion openai_commands/literature_review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ literature review at scale on [AWS Batch](https://aws.amazon.com/batch/) through
| | |
| --- | --- |
| [aws_batch](https://github.com/kamangir/notebooks-and-scripts/tree/main/notebooks_and_scripts/workflow/runners/aws_batch.py) | [local](https://github.com/kamangir/notebooks-and-scripts/tree/main/notebooks_and_scripts/workflow/runners/local.py) |
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=UhkffAa00dzKGoQc)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=UhkffAa00dzKGoQc) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=k9109VWRLMOxjcjp)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=k9109VWRLMOxjcjp) |
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=dkhzyoxdqQOtHYGb)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=dkhzyoxdqQOtHYGb) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=TbrgGRjZbCUkzssI)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=TbrgGRjZbCUkzssI) |

---

Expand Down
5 changes: 2 additions & 3 deletions openai_commands/vision/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from tqdm import tqdm
from blueness import module
from openai import OpenAI
from abcli import env as abcli_env
from blue_objects.env import ABCLI_PUBLIC_PREFIX
from abcli import file
from abcli import string
from abcli.modules import objects
Expand Down Expand Up @@ -50,9 +50,8 @@ def complete_object(
if (keyword in filename if options[keyword] else keyword not in filename)
]

url_prefix = abcli_env.abcli_publish_prefix
list_of_image_urls = [
f"{url_prefix}/{object_name}/{image_name}"
f"{ABCLI_PUBLIC_PREFIX}/{object_name}/{image_name}"
for image_name in tqdm(list_of_images)
]
logger.info("{} image(s).".format(len(list_of_image_urls)))
Expand Down

0 comments on commit 1ab835f

Please sign in to comment.