@if (standalone && (hasValidKey | async) === false) {
}
@if (limitsExceeded) {
{{ 'upload.warning.size-limit.title' | translate }}
{{
'upload.warning.size-limit.limit-details'
| translate
: {
maxMedia: (maxMediaFileSize | size),
max: (maxFileSize | size)
}
}}
{{ 'upload.warning.size-limit.description' | translate }}
}
{{ (folderMode ? 'modal.upload.drop_folder' : 'modal.upload.drop') | translate }}
@if (folderMode) {
{{ 'upload.use_folder_as_labels.label' | translate }}
} @else {
}
@if (!(simpleMode | async) && !useFoldersAsLabels) {
}
@if (files.length > 0) {
@for (item of files; track item) {
{{ item.file.name }}
{{ item.file.size | size }}
{{ 'upload.remove-file' | translate }}
}
}
@if (!(simpleMode | async)) {
{{ 'upload.advanced.title' | translate }}
{{ 'upload.advanced.language-detection.checkbox-label' | translate }}
@if (!automaticLanguageDetection) {
{{ 'upload.advanced.language-detection.input-label' | translate }}
}
@if ((extractConfigEnabled | async) && !standalone) {
}
}
@if (isTrial | async) {
curl $$KB_URL$$/upload \
-X POST \
-H "content-type: video/mp4" \
-H "authorization: Bearer $$AUTH_TOKEN$$" \
-T /path/to/your-video.mp4
Note: the authorization token here will expire. If you want a long-term approach, you should use a service
access token and put it in the
X-NUCLIA-SERVICEACCOUNT
header.
}