metadata
title: Statistical Impact Analyzer
emoji: π
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
Statistical Impact Analyzer β Hugging Face Space (Docker)
This app is a Gradio UI for EDA, causal inference, and predictive modeling.
Deploying on Hugging Face Spaces
Runtime: Select "Docker" when creating the Space.
Files included:
Dockerfileβ builds a Python 3.11 slim image and runspython app.pyrequirements.txtβ Python dependenciesapp.pyβ Gradio app (binds to0.0.0.0and$PORTautomatically)
Secrets
This Space uses the OpenAI API for the Executive Summary. Add your secret in the Space settings:
- Name:
OPENAI_API_KEY - Value: your OpenAI API key
The app reads the key from the environment automatically. If a key is not set, the Executive Summary will simply be empty; the rest of the app will work.
Local development
pip install -r requirements.txt
python app.py
Notes
- The app binds to
0.0.0.0and uses$PORTif provided (HF Spaces). Default is7860locally. - For large CSV/XLSX files, ensure memory is sufficient on the Space instance.