Update app.py
Browse files
app.py
CHANGED
|
@@ -321,6 +321,11 @@ def profile():
|
|
| 321 |
"""User profile page - placeholder for future development"""
|
| 322 |
return "Profile page - Coming soon!"
|
| 323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
@app.route('/api/analyze_frame', methods=['POST'])
|
| 325 |
def analyze_frame():
|
| 326 |
logger.info("API call to /api/analyze_frame")
|
|
|
|
| 321 |
"""User profile page - placeholder for future development"""
|
| 322 |
return "Profile page - Coming soon!"
|
| 323 |
|
| 324 |
+
@app.route('/healthz')
|
| 325 |
+
def health_check():
|
| 326 |
+
logger.info("Health check endpoint called successfully.")
|
| 327 |
+
return "OK", 200
|
| 328 |
+
|
| 329 |
@app.route('/api/analyze_frame', methods=['POST'])
|
| 330 |
def analyze_frame():
|
| 331 |
logger.info("API call to /api/analyze_frame")
|