A newer version of the Gradio SDK is available:
6.3.0
title: Health Monitoring App FastAPI
emoji: ๐
colorFrom: pink
colorTo: pink
sdk: gradio
sdk_version: 5.45.0
app_file: app.py
pinned: false
license: mit
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Health Monitoring App with FastAPI
Overview
The Health Monitoring App is a backend API developed using FastAPI, designed to assist healthcare professionals and individuals in tracking and analyzing health metrics. The app provides endpoints for inputting health data, processing it, and returning insights.
Features
- FastAPI Backend: High-performance API built with FastAPI.
- Health Data Input: Accepts various health metrics such as weight, blood pressure, heart rate, and more.
- Data Processing: Processes input data to provide health insights.
- Swagger UI: Automatically generated interactive API documentation.
- Responsive Design: Optimized for integration with frontend applications.
Installation
Clone the Repository:
git clone https://huggingface.co/spaces/samithcs/Health-Monitoring-App-FastAPI cd Health-Monitoring-App-FastAPISet Up a Virtual Environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`Install Dependencies:
pip install -r requirements.txtRun the Application:
uvicorn app:app --reloadThe app will be accessible at
http://localhost:8000in your web browser.
Usage
- Input Health Metrics: Use the provided endpoints to send health data.
- View Insights: Access the processed insights through the API responses.
- Test Endpoints: Navigate to
http://localhost:8000/docsto interact with the API using Swagger UI.
Deployment
The app is deployed on Hugging Face Spaces, providing a seamless experience without the need for local setup. Access the live application here:
๐ Health Monitoring App on Hugging Face Spaces
Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-name). - Create a new Pull Request.
Please ensure your code adheres to the existing style and includes appropriate tests.
License
This project is licensed under the MIT License - see the LICENSE file for details.