Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Charging Outlets Analytics Dashboard
|
| 2 |
|
| 3 |
This Streamlit application helps you analyze charging outlet performance data and create insightful visualizations.
|
|
@@ -24,41 +35,6 @@ This Streamlit application helps you analyze charging outlet performance data an
|
|
| 24 |
- kWh per outlet per month per area
|
| 25 |
- Average kWh per session
|
| 26 |
|
| 27 |
-
## Deployment on Hugging Face Spaces
|
| 28 |
-
|
| 29 |
-
### Prerequisites
|
| 30 |
-
|
| 31 |
-
- A Hugging Face account
|
| 32 |
-
- Basic knowledge of Git
|
| 33 |
-
|
| 34 |
-
### Deployment Steps
|
| 35 |
-
|
| 36 |
-
1. Create a new Space on Hugging Face:
|
| 37 |
-
- Go to https://huggingface.co/spaces
|
| 38 |
-
- Click "Create new Space"
|
| 39 |
-
- Select "Streamlit" as the SDK
|
| 40 |
-
- Name your Space and set visibility options
|
| 41 |
-
|
| 42 |
-
2. Clone the repository locally:
|
| 43 |
-
```bash
|
| 44 |
-
git clone https://huggingface.co/spaces/YOUR-USERNAME/YOUR-SPACE-NAME
|
| 45 |
-
```
|
| 46 |
-
|
| 47 |
-
3. Add the application files to the repository:
|
| 48 |
-
- Copy `app.py` to the root of the repository
|
| 49 |
-
- Copy `requirements.txt` to the root of the repository
|
| 50 |
-
|
| 51 |
-
4. Commit and push your changes:
|
| 52 |
-
```bash
|
| 53 |
-
git add .
|
| 54 |
-
git commit -m "Initial application setup"
|
| 55 |
-
git push
|
| 56 |
-
```
|
| 57 |
-
|
| 58 |
-
5. Wait for the build to complete on Hugging Face Spaces
|
| 59 |
-
|
| 60 |
-
6. Your application is now live at `https://huggingface.co/spaces/YOUR-USERNAME/YOUR-SPACE-NAME`
|
| 61 |
-
|
| 62 |
## Data Format
|
| 63 |
|
| 64 |
### Sessions.xlsx
|
|
@@ -90,14 +66,4 @@ Contains area and outlet information with the following columns:
|
|
| 90 |
1. Upload both required files using the file uploaders in the sidebar
|
| 91 |
2. Use the dropdown in the sidebar to filter by specific areas
|
| 92 |
3. Navigate between tabs to view different dashboards
|
| 93 |
-
4. Generate a PDF report using the button in the sidebar
|
| 94 |
-
|
| 95 |
-
## Requirements
|
| 96 |
-
|
| 97 |
-
- streamlit==1.27.0
|
| 98 |
-
- pandas==2.0.3
|
| 99 |
-
- plotly==5.17.0
|
| 100 |
-
- numpy==1.25.2
|
| 101 |
-
- reportlab==4.0.4
|
| 102 |
-
- pillow==10.0.1
|
| 103 |
-
- openpyxl==3.1.2
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Charging Outlets Analytics Dashboard
|
| 3 |
+
emoji: ⚡
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: docker
|
| 7 |
+
sdk_version: 3.9-slim
|
| 8 |
+
app_file: src/streamlit_app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# Charging Outlets Analytics Dashboard
|
| 13 |
|
| 14 |
This Streamlit application helps you analyze charging outlet performance data and create insightful visualizations.
|
|
|
|
| 35 |
- kWh per outlet per month per area
|
| 36 |
- Average kWh per session
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
## Data Format
|
| 39 |
|
| 40 |
### Sessions.xlsx
|
|
|
|
| 66 |
1. Upload both required files using the file uploaders in the sidebar
|
| 67 |
2. Use the dropdown in the sidebar to filter by specific areas
|
| 68 |
3. Navigate between tabs to view different dashboards
|
| 69 |
+
4. Generate a PDF report using the button in the sidebar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|