mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
62623b7123
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
12 lines
561 B
Cython
12 lines
561 B
Cython
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
|
|
cdef str ANNOTATIONS_QUEUE # Name of the annotations queue in rabbit
|
|
|
|
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 |