Muhammad Abdur Rahman Saad
commited on
Commit
·
7b8a0f4
1
Parent(s):
403903c
update path name
Browse files- app/app.py +2 -2
- app/routes/{lda.py → topics.py} +0 -0
app/app.py
CHANGED
@@ -10,7 +10,7 @@ from fastapi.responses import JSONResponse
|
|
10 |
from apscheduler.schedulers.asyncio import AsyncIOScheduler
|
11 |
from apscheduler.triggers.cron import CronTrigger
|
12 |
|
13 |
-
from routes import category, summary, keyword,
|
14 |
|
15 |
|
16 |
class Config: # pylint: disable=too-few-public-methods
|
@@ -171,7 +171,7 @@ app.add_middleware(
|
|
171 |
app.include_router(category.router)
|
172 |
app.include_router(summary.router)
|
173 |
app.include_router(keyword.router)
|
174 |
-
app.include_router(
|
175 |
app.include_router(entity.router)
|
176 |
|
177 |
@app.get("/_health")
|
|
|
10 |
from apscheduler.schedulers.asyncio import AsyncIOScheduler
|
11 |
from apscheduler.triggers.cron import CronTrigger
|
12 |
|
13 |
+
from routes import category, summary, keyword, topics, entity # pylint: disable=import-error
|
14 |
|
15 |
|
16 |
class Config: # pylint: disable=too-few-public-methods
|
|
|
171 |
app.include_router(category.router)
|
172 |
app.include_router(summary.router)
|
173 |
app.include_router(keyword.router)
|
174 |
+
app.include_router(topics.router)
|
175 |
app.include_router(entity.router)
|
176 |
|
177 |
@app.get("/_health")
|
app/routes/{lda.py → topics.py}
RENAMED
File without changes
|