traindb-project / traindb-ml

Remote ML Model Serving Component for TrainDB
Apache License 2.0
6 stars 2 forks source link

Async train call #34

Closed kihyuk-nam closed 2 years ago

kihyuk-nam commented 2 years ago

'/train' API call takes long time.

Check if it's okay with post call or make it async

See: #30

kihyuk-nam commented 2 years ago

676d58ac5cb98af344e579ec346b51decf2441db

made the /train async, although this is not what I meant @app.post("/train/") async def app_train(target: Target):