Skip to content

Commit 5c74411

Browse files
ci: Add yolo to build config (#700)
1 parent 422217f commit 5c74411

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/docker-build-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@
4343
backend_tag_prefix: spacy-
4444
- backend_dir_name: tesseract
4545
backend_tag_prefix: tesseract-
46+
- backend_dir_name: yolo
47+
backend_tag_prefix: yolo-

label_studio_ml/examples/yolo/cli.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from label_studio_sdk.client import LabelStudio
99
from label_studio_ml.response import ModelResponse
1010

11-
1211
LABEL_STUDIO_URL = os.getenv("LABEL_STUDIO_URL", "http://localhost:8080")
1312
LABEL_STUDIO_API_KEY = os.getenv("LABEL_STUDIO_API_KEY", "your_api_key")
1413
PROJECT_ID = os.getenv("LABEL_STUDIO_PROJECT_ID", "1")
@@ -36,8 +35,8 @@ def arg_parser():
3635
type=str,
3736
default="tasks.json",
3837
help="Path to tasks JSON file with list of ids or task datas. Example: tasks.json\n"
39-
"String with ids separated by comma: if you provide task ids, "
40-
"task data will be downloaded automatically from the Label Studio instance. Example: 1,2,3",
38+
"String with ids separated by comma: if you provide task ids, "
39+
"task data will be downloaded automatically from the Label Studio instance. Example: 1,2,3",
4140
)
4241
return parser.parse_args()
4342

0 commit comments

Comments
 (0)