habulaj commited on
Commit
fbd0ae7
·
verified ·
1 Parent(s): bbbc107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -1,4 +1,17 @@
1
  from fastapi import FastAPI, Request
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  from routers import searchterm
3
 
4
  # Instancia a aplicação FastAPI
@@ -9,4 +22,17 @@ def greet_json():
9
  return {"Hello": "World!"}
10
 
11
  # Inclui as rotas
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  app.include_router(searchterm.router)
 
1
  from fastapi import FastAPI, Request
2
+ from routers import news
3
+ from routers import curiosity
4
+ from routers import memoriam
5
+ from routers import getnews
6
+ from routers import filter
7
+ from routers import inference
8
+ from routers import video
9
+ from routers import subtitle
10
+ from routers import image
11
+ from routers import analyze
12
+ from routers import search
13
+ from routers import instagram
14
+ from routers import twitter
15
  from routers import searchterm
16
 
17
  # Instancia a aplicação FastAPI
 
22
  return {"Hello": "World!"}
23
 
24
  # Inclui as rotas
25
+ app.include_router(news.router)
26
+ app.include_router(curiosity.router)
27
+ app.include_router(memoriam.router)
28
+ app.include_router(getnews.router)
29
+ app.include_router(filter.router)
30
+ app.include_router(inference.router)
31
+ app.include_router(video.router)
32
+ app.include_router(subtitle.router)
33
+ app.include_router(image.router)
34
+ app.include_router(analyze.router)
35
+ app.include_router(search.router)
36
+ app.include_router(instagram.router)
37
+ app.include_router(twitter.router)
38
  app.include_router(searchterm.router)