ml-api

ML API Overview

Python FastAPI HuggingFace PyTorch

ml-api

A machine learning API for model deployment and inference.

Overview

ml-api is a RESTful API designed for deploying and serving machine learning models. It allows users to easily upload models, generate predictions, and manage model versions.

View Interactive Project Overview

Deployment

To deploy the web interface:

kubectl apply -f html_deployment.yaml

Features

Installation

  1. Clone the repository:
    git clone https://github.com/bniladridas/ml-api.git
    
  2. Navigate to the project directory:
    cd ml-api
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    

Requirements

Usage

To start the API server, run:

python main.py

Example Request

curl -X POST http://localhost:5000/predict -d '{"data": [your_data_here]}'

Contributing

Feel free to submit issues or pull requests for improvements!

License

This project is licensed under the MIT License - see the LICENSE file for details.