mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 05:16:31 +00:00
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:
@@ -1,6 +1,4 @@
|
||||
cdef str SOCKET_HOST # Host for the socket server
|
||||
cdef int SOCKET_PORT # Port for the socket server
|
||||
cdef int SOCKET_BUFFER_SIZE # Buffer size for socket communication
|
||||
cdef int ZMQ_PORT = 5127 # Port for the zmq
|
||||
|
||||
cdef int QUEUE_MAXSIZE # Maximum size of the command queue
|
||||
cdef str COMMANDS_QUEUE # Name of the commands queue in rabbit
|
||||
@@ -10,3 +8,5 @@ cdef str API_URL # Base URL for the external API
|
||||
cdef str TOKEN_FILE # Name of the token file where temporary token would be stored
|
||||
cdef str QUEUE_CONFIG_FILENAME # queue config filename to load from api
|
||||
cdef str AI_MODEL_FILE # AI Model file
|
||||
|
||||
cdef bytes DONE_SIGNAL
|
||||
Reference in New Issue
Block a user