馃く You can now expose the bot in a FastAPI app with one line of code #3
momegas
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
You can also create a FastAPI app that will expose the bot as an API.
Just run
uvicorn main:app --reloadto run the API locally.You should then be able to visit
http://localhost:8000/docsto see the API documentation.All reactions