mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 02:36:30 +00:00
c1b5b5fee2
make inference in batches, fix c# handling, add overlap handling
13 lines
587 B
Cython
13 lines
587 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
|
|
cdef int MODEL_BATCH_SIZE |