Spaces:
Sleeping

File size: 1,246 Bytes
264a960
a92cf10
264a960
 
 
 
f77de7e
264a960
 
f77de7e
264a960
f77de7e
264a960
f77de7e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
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.