""" from fastapi import FastAPI from app.routers import user from app.db import database app = FastAPI() # Include user router app.include_router(user.router) # Create tables database.create_tables() """ from fastapi import FastAPI from app.db import database # Base, engine from app.routers import user, llm #Base.metadata.create_all(bind=engine) app = FastAPI(title="OpenGenAI", description="Your Excellect AI Physician", docs_url="/") @app.on_event("startup") async def startup(): await database.create_tables() app.include_router(llm.router) app.include_router(user.router)