mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:26:30 +00:00
rewrite inference and file loading to cython
Step 1: can compile
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# cython: language_level=3
|
||||
|
||||
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 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.pt"
|
||||
Reference in New Issue
Block a user