Spaces:
Sleeping
Sleeping
File size: 1,120 Bytes
16a46a6 ce8ed47 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ---
title: Ml Api
emoji: 📊
colorFrom: gray
colorTo: pink
sdk: docker
pinned: false
---
# API Endpoints
## Prediction Endpoints
- [Spaceship Titanic Prediction (POST /spaceship-titanic/predict)](https://HighFive52-ml-api.hf.space/spaceship-titanic/predict)
- Upload a CSV file with passenger data to get survival predictions.
- [Digit Recognizer Prediction (POST /digit-recognizer/predict)](https://HighFive52-ml-api.hf.space/digit-recognizer/predict)
- Upload a CSV file with flattened 28x28 pixel values to get digit predictions.
**Note:** The prediction endpoints expect a file upload (form field name: `file`). Use the Swagger UI or an HTTP client (like curl or Postman) to submit data.
# API Endpoints
When deployed on Hugging Face Spaces, access the API endpoints directly:
- [Health check](https://HighFive52-ml-api.hf.space/health)
- [Swagger UI (interactive docs)](https://HighFive52-ml-api.hf.space/docs)
- [Redoc documentation](https://HighFive52-ml-api.hf.space/redoc)
**Note:** The endpoints above are not linked from the Space’s main page. Use these URLs to interact with the API directly.
|