ssboost commited on
Commit
4120bfc
·
verified ·
1 Parent(s): e376942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -12,6 +12,10 @@ import shutil
12
 
13
  app = FastAPI()
14
 
 
 
 
 
15
  @app.get("/health")
16
  async def health_check():
17
  return {"status": "healthy"}
 
12
 
13
  app = FastAPI()
14
 
15
+ @app.get("/")
16
+ async def read_root():
17
+ return {"message": "Welcome to the FastAPI application!"}
18
+
19
  @app.get("/health")
20
  async def health_check():
21
  return {"status": "healthy"}