Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -66,8 +66,8 @@ app = FastAPI(
|
|
| 66 |
|
| 67 |
@app.get("/")
|
| 68 |
def health_check():
|
| 69 |
-
"""A simple endpoint to check if the
|
| 70 |
-
return {"status": "ok", "
|
| 71 |
|
| 72 |
@app.post("/api/")
|
| 73 |
async def process_analysis_request(files: List[UploadFile] = File(...)):
|
|
|
|
| 66 |
|
| 67 |
@app.get("/")
|
| 68 |
def health_check():
|
| 69 |
+
"""A simple endpoint that the cloud platform can call to check if the service is alive."""
|
| 70 |
+
return {"status": "ok", "message": "Data Analyst Agent is running."}
|
| 71 |
|
| 72 |
@app.post("/api/")
|
| 73 |
async def process_analysis_request(files: List[UploadFile] = File(...)):
|