Update app/main.py
Browse files- app/main.py +13 -0
app/main.py
CHANGED
|
@@ -1092,3 +1092,16 @@ def get_compressed(request: Request, filename: str):
|
|
| 1092 |
)
|
| 1093 |
|
| 1094 |
return FileResponse(path, media_type=media_type)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1092 |
)
|
| 1093 |
|
| 1094 |
return FileResponse(path, media_type=media_type)
|
| 1095 |
+
|
| 1096 |
+
@app.get("/")
|
| 1097 |
+
async def root():
|
| 1098 |
+
"""Root endpoint"""
|
| 1099 |
+
return {
|
| 1100 |
+
"success": True,
|
| 1101 |
+
"message": "Image Colorization API",
|
| 1102 |
+
"data": {
|
| 1103 |
+
"version": "1.0.0",
|
| 1104 |
+
"Product Name":"Beauty Camera - GlowCam AI Studio",
|
| 1105 |
+
"Released By" : "LogicGo Infotech"
|
| 1106 |
+
}
|
| 1107 |
+
}
|