Update app/app.py
Browse files- app/app.py +5 -0
app/app.py
CHANGED
|
@@ -16,6 +16,11 @@ async def lifespan(app: FastAPI):
|
|
| 16 |
|
| 17 |
#app = FastAPI(lifespan=lifespan)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
app.include_router(
|
| 20 |
fastapi_users.get_auth_router(auth_backend), prefix="/auth/jwt", tags=["auth"]
|
| 21 |
)
|
|
|
|
| 16 |
|
| 17 |
#app = FastAPI(lifespan=lifespan)
|
| 18 |
|
| 19 |
+
app = fastapi.FastAPI(
|
| 20 |
+
title="OpenGenAI",
|
| 21 |
+
description="Your Excellect AI Physician",
|
| 22 |
+
lifespan=lifespan
|
| 23 |
+
)
|
| 24 |
app.include_router(
|
| 25 |
fastapi_users.get_auth_router(auth_backend), prefix="/auth/jwt", tags=["auth"]
|
| 26 |
)
|