navoditamathur commited on
Commit
27867a8
·
verified ·
1 Parent(s): 9f2a26f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -6,22 +6,18 @@ from tasks import text, image, audio
6
  load_dotenv()
7
 
8
  app = FastAPI(
9
- title="Frugal AI Challenge API",
10
  description="API for the Frugal AI Challenge evaluation endpoints"
11
  )
12
 
13
  # Include all routers
14
- app.include_router(text.router)
15
  app.include_router(image.router)
16
- app.include_router(audio.router)
17
 
18
  @app.get("/")
19
  async def root():
20
  return {
21
  "message": "Welcome to the Frugal AI Challenge API",
22
  "endpoints": {
23
- "text": "/text - Text classification task",
24
- "image": "/image - Image classification task (coming soon)",
25
- "audio": "/audio - Audio classification task (coming soon)"
26
  }
27
  }
 
6
  load_dotenv()
7
 
8
  app = FastAPI(
9
+ title="Smoke Detector",
10
  description="API for the Frugal AI Challenge evaluation endpoints"
11
  )
12
 
13
  # Include all routers
 
14
  app.include_router(image.router)
 
15
 
16
  @app.get("/")
17
  async def root():
18
  return {
19
  "message": "Welcome to the Frugal AI Challenge API",
20
  "endpoints": {
21
+ "image": "/image - Image classification task",
 
 
22
  }
23
  }