Update api_schemas.py
Browse files- api_schemas.py +9 -0
api_schemas.py
CHANGED
|
@@ -51,6 +51,15 @@ SCENES_EXTRACTION = {
|
|
| 51 |
]
|
| 52 |
}
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
IMAGE_LIST_DESCRIPTION = {
|
| 55 |
"method": "POST",
|
| 56 |
"path": "/api/describe_images",
|
|
|
|
| 51 |
]
|
| 52 |
}
|
| 53 |
|
| 54 |
+
IMAGES_EVERY_SECOND_EXTRACTION = {
|
| 55 |
+
"method": "POST",
|
| 56 |
+
"path": "/api/keyframes_every_second_extraction",
|
| 57 |
+
"multipart_fields": [
|
| 58 |
+
{"name": "video_file", "type": "str"},
|
| 59 |
+
{"name": "crop_ratio", "type": "float", "default": 0.1, "description": "Recorte en los bordes de la imagen (para evitar marcas de agua)"}
|
| 60 |
+
]
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
IMAGE_LIST_DESCRIPTION = {
|
| 64 |
"method": "POST",
|
| 65 |
"path": "/api/describe_images",
|