Skip to content

bniladridas/ml-api

Repository files navigation

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

  • Model upload
  • Real-time inference
  • Model version management

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

  • Python 3.x
  • Flask (or any other relevant packages)

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.

About

A machine learning API for model deployment and inference.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published