habulaj commited on
Commit
a8b6fb3
·
verified ·
1 Parent(s): 595b61d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from fastapi import FastAPI, Request
2
- from routers import profanity, translate, textclas # Importa as rotas
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)