Road Accident Prediction API πŸš—

This is a Flask-based Machine Learning API hosted on Hugging Face Spaces using Docker. It predicts the likelihood or severity of road accidents based on input features.

πŸ“‚ Project Structure

  • App.py: Main Flask application and API routes.
  • road_accident_model.pkl: The trained predictive model (Random Forest/XGBoost etc).
  • encoder.pkl: Pickle file for categorical data encoding.
  • requirements.txt: Python dependencies (Flask, scikit-learn, pandas).
  • Dockerfile: Container configuration to run the Flask server.

πŸš€ Setup and Installation

  1. Clone the repository:
    git clone [https://huggingface.co/spaces/Dexter0907/Accidental_AI](https://huggingface.co/spaces/Dexter0907/Accidental_AI)
    cd Accidental_AI
    
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support