Spaces:
Sleeping

ML-API-Frontend / README.md
Eric Dyke
Initialize ML API Frontend project with Streamlit
f77de7e
|
Raw History Blame Contribute Delete
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.