add ramdisk, load AI model to ramdisk and start recognition from it

rewrite zmq to DEALER and ROUTER
add GET_USER command to get CurrentUser from Python
all auth is on the python side
inference run and validate annotations on python
This commit is contained in:
Alex Bezdieniezhnykh
2025-01-29 17:45:26 +02:00
parent 82b3b526a7
commit 62623b7123
55 changed files with 945 additions and 895 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
from user cimport User
cdef class ApiClient:
cdef str email, password, token, folder, token_file, api_url
cdef User user
cdef get_encryption_key(self, str hardware_hash)
cdef login(self, str email, str password)
cdef login(self)
cdef set_token(self, str token)
cdef get_user(self)
cdef load_bytes(self, str filename)
cdef load_ai_model(self)
cdef load_queue_config(self)