Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from fastapi import FastAPI, Request
|
2 |
-
from routers import profanity, translate, textclas
|
3 |
|
4 |
# Instancia a aplicação FastAPI
|
5 |
app = FastAPI()
|
@@ -11,4 +11,5 @@ def greet_json():
|
|
11 |
# Inclui as rotas
|
12 |
app.include_router(profanity.router)
|
13 |
app.include_router(translate.router) # Inclui a rota adicional
|
14 |
-
app.include_router(textclas.router)
|
|
|
|
1 |
from fastapi import FastAPI, Request
|
2 |
+
from routers import profanity, translate, textclas, summarizer # Importa as rotas
|
3 |
|
4 |
# Instancia a aplicação FastAPI
|
5 |
app = FastAPI()
|
|
|
11 |
# Inclui as rotas
|
12 |
app.include_router(profanity.router)
|
13 |
app.include_router(translate.router) # Inclui a rota adicional
|
14 |
+
app.include_router(textclas.router)
|
15 |
+
app.include_router(summarizer.router)
|