Add fastapi deployment
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
parent
be567897d9
commit
57cccac722
16 changed files with 83 additions and 13 deletions
|
|
@ -4,9 +4,11 @@ from random import shuffle
|
|||
from devtools import debug
|
||||
from predict_domain import predict_domain
|
||||
|
||||
from good_ai import process_batch
|
||||
from good_ai import process_batch, serve
|
||||
|
||||
if __name__ == "__main__":
|
||||
serve(predict_domain)
|
||||
|
||||
with open(".cache/ss-data-0/s2-corpus-1583.json") as f:
|
||||
raw = json.load(f)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue