MedAI / main.py
moriire's picture
auth added
014870a
raw
history blame
512 Bytes
"""
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.include_router(llm.router)
app.include_router(user.router)