Spaces:
Runtime error
Runtime error
metadata
title: EcoMindAI Test
emoji: π
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 6.0.0
app_file: app.py
pinned: false
EcoMindAI
Estimate the environmental impact of your AI project and reduce it through recommendations.
About
EcoMindAI is a gradio / FastAPI-based web application that helps you:
- π± Estimate the environmental impact of your AI/ML projects
- π Analyze energy consumption and carbon footprint
- π‘ Get recommendations to reduce environmental impact
The application provides a REST API for integration into your existing workflows and a web interface for interactive usage.
π For Users - Quick Start
Use the pre-built Docker image to run EcoMindAI without any setup:
# Pull and run the latest version
docker pull sustain4raise/ecomindai:latest
docker run -p 8000:8000 sustain4raise/ecomindai:latest
Access the application:
- π Web interface:
http://localhost:8000
Using specific versions
# Pull a specific version
docker pull sustain4raise/ecomindai:1.0.1
docker run -p 8000:8000 sustain4raise/ecomindai:1.0.1
π οΈ For Developers - Local Development
Prerequisites
- Python >= 3.13
- Pip & Pipenv
Setup
Clone the repository:
git clone https://github.com/sustain4ai/ecomindai.git cd ecomindaiInstall dependencies:
pipenv syncRun the application:
pipenv run python main.py
The development server will start at http://localhost:8000
π§ͺ Testing the API
EcoMindAI uses FastAPI, which automatically generates interactive API documentation:
Interactive Documentation
Swagger UI: Go to
http://localhost:8000/docs- Try API endpoints directly in your browser
- See request/response schemas
- Test with sample data
ReDoc: Go to
http://localhost:8000/redoc- Alternative documentation format
- Better for reading and understanding