from invoke import task
@task
def run(ctx):
ctx.run("uvicorn main:app --reload", pty=True, echo=True)