Spaces:
Sleeping
Sleeping
|
Download README.md from HighFive52/ml-api: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/spaces/HighFive52/ml-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/HighFive52/ml-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/HighFive52/ml-api/resolve/main/README.md
1.12 kB
metadata
title: Ml Api
emoji: 📊
colorFrom: gray
colorTo: pink
sdk: docker
pinned: false
API Endpoints
Prediction Endpoints
Spaceship Titanic Prediction (POST /spaceship-titanic/predict)
- Upload a CSV file with passenger data to get survival predictions.
Digit Recognizer Prediction (POST /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:
Note: The endpoints above are not linked from the Space’s main page. Use these URLs to interact with the API directly.