Spaces:
Sleeping
Sleeping
Download features/reports/__init__.py from chainshiftlabs/chainshift-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/chainshiftlabs/chainshift-dashboard/resolve/main/features/reports/__init__.py
- Command line
-
hf download hf://spaces/chainshiftlabs/chainshift-dashboard/features/reports/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/chainshiftlabs/chainshift-dashboard/resolve/main/features/reports/__init__.py
561 Bytes
| """리포트 Feature Plugin. | |
| API: /api/v1/reports | |
| """ | |
| import streamlit as st | |
| from . import overview, summary | |
| FEATURE_CONFIG = { | |
| "key": "reports", | |
| "name": "리포트", | |
| "icon": "📝", | |
| "description": "Feature별 미리보기, HTML/CSV 다운로드, 전체 리포트 생성", | |
| "api_base": "/api/v1/reports", | |
| "order": 2, | |
| } | |
| def render(base_ctx): | |
| """리포트 feature 렌더링.""" | |
| # Summary card | |
| summary.render_summary(base_ctx) | |
| # Main content - delegates to overview which has all sub-tabs | |
| overview.render(base_ctx) | |