LogicGoInfotechSpaces commited on
Commit
57d2c21
·
verified ·
1 Parent(s): 27a99d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -1286,6 +1286,18 @@ DEFAULT_WITH_MODEL_NAME = True
1286
 
1287
  # Singleton Upscale instance for API
1288
  _api_upscale = Upscale()
 
 
 
 
 
 
 
 
 
 
 
 
1289
 
1290
  @fastapi_app.get("/health")
1291
  def health(_: bool = Depends(_verify_bearer_token)):
 
1286
 
1287
  # Singleton Upscale instance for API
1288
  _api_upscale = Upscale()
1289
+ fastapi_app.get("/")
1290
+ async def root():
1291
+ """Root endpoint"""
1292
+ return {
1293
+ "success": True,
1294
+ "message": "Image Enhancer API",
1295
+ "data": {
1296
+ "version": "1.0.0",
1297
+ "Product Name":"Beauty Camera - GlowCam AI Studio",
1298
+ "Released By" : "LogicGo Infotech"
1299
+ }
1300
+ }
1301
 
1302
  @fastapi_app.get("/health")
1303
  def health(_: bool = Depends(_verify_bearer_token)):