added image intgerrogator

This commit is contained in:
Believethehype
2023-12-04 21:41:18 +01:00
parent 7006da9eec
commit 93e4e48b3f
4 changed files with 172 additions and 1 deletions

View File

@@ -36,6 +36,8 @@ def get_task(event, client, dvm_config):
return "pdf-to-text"
elif file_type == "audio" or file_type == "video":
return "speech-to-text"
elif file_type == "image":
return "image-to-text"
else:
return "unknown job"
elif tag.as_vec()[2] == "event":