Spaces:
Build error
Build error
Download analytics.py from GirishaBuilds01/esg-multimodal-intelligence: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/GirishaBuilds01/esg-multimodal-intelligence/resolve/main/analytics.py
- Command line
-
hf download hf://spaces/GirishaBuilds01/esg-multimodal-intelligence/analytics.py
-
curl -L -o analytics.py https://huggingface.co/spaces/GirishaBuilds01/esg-multimodal-intelligence/resolve/main/analytics.py
321 Bytes
| import plotly.graph_objects as go | |
| def generate_dashboard(weights): | |
| fig = go.Figure(data=[ | |
| go.Bar( | |
| x=list(weights.keys()), | |
| y=list(weights.values()) | |
| ) | |
| ]) | |
| fig.update_layout( | |
| title="MoTE Modality Distribution", | |
| yaxis_title="Weight" | |
| ) | |
| return fig | |