mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:46:30 +00:00
c1b5b5fee2
make inference in batches, fix c# handling, add overlap handling
13 lines
497 B
Cython
13 lines
497 B
Cython
cdef int ZMQ_PORT = 5127 # Port for the zmq
|
|
|
|
cdef int QUEUE_MAXSIZE = 1000 # Maximum size of the command queue
|
|
cdef str COMMANDS_QUEUE = "azaion-commands"
|
|
cdef str ANNOTATIONS_QUEUE = "azaion-annotations"
|
|
|
|
cdef str API_URL = "https://api.azaion.com" # Base URL for the external API
|
|
cdef str TOKEN_FILE = "token"
|
|
cdef str QUEUE_CONFIG_FILENAME = "secured-config.json"
|
|
cdef str AI_MODEL_FILE = "azaion.onnx"
|
|
|
|
cdef bytes DONE_SIGNAL = b"DONE"
|
|
cdef int MODEL_BATCH_SIZE = 4 |