Spaces:
Sleeping
Sleeping
|
Download README.md from HighFive52/ML-API-Frontend: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/spaces/HighFive52/ML-API-Frontend/resolve/main/README.md
- Command line
-
hf download hf://spaces/HighFive52/ML-API-Frontend/README.md
-
curl -L -o README.md https://huggingface.co/spaces/HighFive52/ML-API-Frontend/resolve/main/README.md
1.25 kB
| title: ML API Frontend | |
| emoji: 🚀 | |
| colorFrom: red | |
| colorTo: red | |
| sdk: docker | |
| app_port: 7860 | |
| # ML API Frontend | |
| This repository contains a Streamlit application that serves as the frontend interface for interacting with a machine learning API. | |
| ## Features | |
| - User-friendly web interface built with Streamlit | |
| - Connects to a backend ML API for predictions or data processing | |
| - Easy to deploy and extend for various ML use cases | |
| ## Getting Started | |
| 1. Clone the repository: | |
| ```bash | |
| git clone https://huggingface.co/spaces/HighFive52/ML-API-Frontend | |
| ``` | |
| 2. Install dependencies: | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| 3. Run the app: | |
| ```bash | |
| streamlit run app.py | |
| ``` | |
| ## Project Structure | |
| - `src/streamlit_app.py` — Main Streamlit application | |
| ## Available APIs | |
| This Streamlit app can interact with the following APIs: | |
| - **Spaceship Titanic API:** | |
| - `SPACESHIP_API_URL = "https://HighFive52-ml-api.hf.space/spaceship-titanic/predict"` | |
| - **Digit Recognizer API:** | |
| - `DIGITS_API_URL = "https://HighFive52-ml-api.hf.space/digit-recognizer/predict"` | |
| ## Requirements | |
| - Python 3.7+ | |
| - Streamlit | |
| - Other dependencies as listed in `requirements.txt` | |
| ## License | |
| This project is licensed under the MIT License. | |