metadata
title: Rockfall Risk Prediction
emoji: ⛏️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.44.1
app_file: app.py
pinned: false
🚀 Rockfall Prediction API (FastAPI + XGBoost)
This is a machine learning API that predicts rockfall risks in open-pit mines using geotechnical, environmental, and sensor data.
📌 Endpoints
GET /
→ Health checkPOST /predict
→ Send JSON input and receive a prediction
Example request:
{
"slope_angle": 45,
"rainfall": 120,
"displacement": 0.02,
"temperature": 28
}