Add backend #1
Loading…
Reference in a new issue
No description provided.
Delete branch "backend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Container opens port 8000, endpoint at :8000(or whatever want to map to)/predict/severity/
POST request format:
curl -X POST "http://:/predict/severity/"
-H "Content-Type: application/json"
-d '{
"Start_Lat": float,
"Start_Lng": float,
"Temperature_F": float,
"Humidity_pct": float,
"Pressure_in": float,
"Visibility_mi": float,
"Wind_Speed_mph": float,
"Precipitation_in": float,
"State": string,
"Sunrise_Sunset": string,
"Amenity": boolean,
"Bump": boolean,
"Crossing": boolean,
"Give_Way": boolean,
"Junction": boolean,
"No_Exit": boolean,
"Railway": boolean,
"Roundabout": boolean,
"Station": boolean,
"Stop": boolean,
"Traffic_Calming": boolean,
"Traffic_Signal": boolean,
"Turning_Loop": boolean
}'