File size: 512 Bytes
014870a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""
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)