Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files
app.py
CHANGED
|
@@ -103,8 +103,9 @@ def run_diffdock_inference(protein_pdb_content, ligand_smiles_string):
|
|
| 103 |
app = FastAPI()
|
| 104 |
|
| 105 |
@app.get("/ping")
|
|
|
|
| 106 |
async def ping():
|
| 107 |
-
"""Health check endpoint for UptimeRobot monitoring"""
|
| 108 |
return JSONResponse({
|
| 109 |
"status": "online",
|
| 110 |
"service": "RDKit Drug-Likeness Engine",
|
|
|
|
| 103 |
app = FastAPI()
|
| 104 |
|
| 105 |
@app.get("/ping")
|
| 106 |
+
@app.head("/ping")
|
| 107 |
async def ping():
|
| 108 |
+
"""Health check endpoint for UptimeRobot monitoring - supports both GET and HEAD"""
|
| 109 |
return JSONResponse({
|
| 110 |
"status": "online",
|
| 111 |
"service": "RDKit Drug-Likeness Engine",
|