Skip to content

How to debug a bentoml app like fastapi flavor? #4621

Discussion options

You must be logged in to vote

I think I answered it.
There is a way to do:

import uvicorn
from service import svc

if __name__ == "__main__":
    uvicorn.run(svc.asgi_app, host="0.0.0.0", port=3001)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by decadance-dance
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants