Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Derek Haynes 0c2d08eb6b
MLFlow not needed
4 years ago
..
958bff6435
Updating README
4 years ago
0c2d08eb6b
MLFlow not needed
4 years ago

README.md

You have to be logged in to leave a comment. Sign In

Covid19-Repo-Recommender Web app

This is a web app to run model inference. The web app is powered by FastAPI.

Running the web app

From the project root:

honcho -f Procfile.dev start

If the application file (main.py) is updated or /models/restart.py is touched, the app is reloaded automatically in development mode.

Model Inference API

curl --location --request POST 'http://localhost:8000/predict' \
--header 'Content-Type: application/json' \
--data-raw '{"columns":[0,1],"index":[0],"data":[["Python","Data"]]}'

Deploying to Heroku

heroku create
git push heroku master
heroku buildpacks:add heroku/python
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...