Pujan-Dev commited on
Commit
6386bd6
·
verified ·
1 Parent(s): b683667

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -122,8 +122,11 @@ async def health_check():
122
 
123
  # Simple index route
124
 
125
-
126
  @app.get("/")
127
  def index():
128
- return {"message": "It's an API"}
 
 
 
 
129
 
 
122
 
123
  # Simple index route
124
 
 
125
  @app.get("/")
126
  def index():
127
+ return {
128
+ "message": "FastAPI API is up.",
129
+ "try": "/docs to test the API.",
130
+ "status": "OK"
131
+ }
132