Download shared/__init__.py from lyzr-ai/analytics: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/lyzr-ai/analytics/resolve/main/shared/__init__.py
- Command line
-
hf download hf://spaces/lyzr-ai/analytics/shared/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/lyzr-ai/analytics/resolve/main/shared/__init__.py
447 Bytes
| """Shared components for the Gradio Spaces ecosystem.""" | |
| # Support both local and HF Spaces imports | |
| try: | |
| from apps.shared.ui_components import get_navbar_links, create_footer | |
| from apps.shared.custom_components import AppBase | |
| except ImportError: | |
| from shared.ui_components import get_navbar_links, create_footer | |
| from shared.custom_components import AppBase | |
| __all__ = [ | |
| "get_navbar_links", | |
| "create_footer", | |
| "AppBase", | |
| ] | |