Training DeepPavlov without restarting riseapi

Hi

I am using

python3 -m deeppavlov train tfidf_logreg_en_faq.json

to train DeepPavlov. In order to make the new model available I have to restart DeepPavlov

ps ax | grep deeppavlov
kill PROCESS_ID
python3 -m deeppavlov riseapi tfidf_logreg_en_faq.json &

How could I enhance DeepPavlov, such that I don’t have to restart the riseapi version?

What about doing this via the REST API, e.g.

http://0.0.0.0:5000/reload

?

Thanks

Michael

I have created a REST interface to retrain and rebuild the model, whereas please see