I am looking for an easy way to turn my local Jupyter notebooks into a deployable model without having to write a lot of code or configuration. Thank you.

  • MangoReady901@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Us nbimporter, create a function of the code you want to use. Pick your favorite api framework (sanic, flask, fast API). Import your function from your notebook and wrap in a simple get/post request. Additionally take the output of your function and return it as some kind of Json item.

    I can setup a quick demo if any of this went over your head. Think this is a great idea to develop robust/testable code that’s easy to debug.