mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 20:46:30 +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 = "127.0.0.1" # Host for the socket server
|
||||
cdef int SOCKET_PORT = 9127 # Port for the socket server
|
||||
cdef int SOCKET_BUFFER_SIZE = 4096 # Buffer size for socket communication
|
||||
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"
|
||||
@@ -10,3 +8,5 @@ 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.pt"
|
||||
|
||||
cdef bytes DONE_SIGNAL = b"DONE"
|
||||
Reference in New Issue
Block a user