Inference.
Browse files
app/api/api_v1/endpoints/openai.py
CHANGED
|
@@ -93,7 +93,7 @@ def embed(db: Session, payload: schemas.LabelStudio):
|
|
| 93 |
response = requests.get(
|
| 94 |
"{}/api/projects/{}/export?export_type=COCO&ids[]={}".format(settings.LABEL_STUDIO_URL, label_studio_project.id, task_id),
|
| 95 |
headers={"Authorization": "Token {}".format(settings.LABEL_STUDIO_API_KEY)},
|
| 96 |
-
timeout=(
|
| 97 |
|
| 98 |
#label_studio_project.export_tasks("COCO", False, True, [task_id], tmp_archive)
|
| 99 |
|
|
|
|
| 93 |
response = requests.get(
|
| 94 |
"{}/api/projects/{}/export?export_type=COCO&ids[]={}".format(settings.LABEL_STUDIO_URL, label_studio_project.id, task_id),
|
| 95 |
headers={"Authorization": "Token {}".format(settings.LABEL_STUDIO_API_KEY)},
|
| 96 |
+
timeout=(500, 500))
|
| 97 |
|
| 98 |
#label_studio_project.export_tasks("COCO", False, True, [task_id], tmp_archive)
|
| 99 |
|