a lot of small stuff
This commit is contained in:
@@ -7,6 +7,7 @@ from libc.stdlib cimport malloc, realloc
|
||||
from libc.string cimport memcpy
|
||||
|
||||
import library as nn
|
||||
import flask
|
||||
|
||||
|
||||
tokenizers = {}
|
||||
@@ -44,6 +45,10 @@ cdef public char *greeting():
|
||||
return f'The value is {3**3**3}'.encode('utf-8')
|
||||
|
||||
|
||||
cdef public void serve():
|
||||
nn.app.run(port=8448)
|
||||
|
||||
|
||||
cdef public int get_tokens(WordList* wl, const char *filename):
|
||||
fnu = filename.decode('utf-8')
|
||||
if fnu not in tokenizers:
|
||||
|
||||
Reference in New Issue
Block a user