LogicGoInfotechSpaces commited on
Commit
b76f561
·
verified ·
1 Parent(s): e649db6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -384,9 +384,17 @@ def mandatory_enhancement(rgb_img):
384
 
385
  # --------------------- API Endpoints ---------------------
386
  @fastapi_app.get("/")
387
- def root():
388
- return {"status": "healthy"}
389
-
 
 
 
 
 
 
 
 
390
  @fastapi_app.get("/health")
391
  async def health():
392
  return {"status": "healthy"}
 
384
 
385
  # --------------------- API Endpoints ---------------------
386
  @fastapi_app.get("/")
387
+ async def root():
388
+ """Root endpoint"""
389
+ return {
390
+ "success": True,
391
+ "message": "FaceSwap API",
392
+ "data": {
393
+ "version": "1.0.0",
394
+ "Product Name":"Beauty Camera - GlowCam AI Studio",
395
+ "Released By" : "LogicGo Infotech"
396
+ }
397
+ }
398
  @fastapi_app.get("/health")
399
  async def health():
400
  return {"status": "healthy"}