Spaces:
Paused
Paused
File size: 1,022 Bytes
78caafb 88bdcff 78caafb 88bdcff 78caafb 88bdcff 78caafb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
"""Tab modules for FDAM AI Pipeline UI.
Simplified 2-tab structure:
- input_tab: Combined room, images, and observations
- results_tab: Results display with chat interface
Legacy modules (room, images, observations, results) available but not pre-imported
to avoid triggering heavy dependencies (chromadb, etc.) during local development.
"""
# Only import the new simplified tabs by default
from . import input_tab
from . import results_tab
__all__ = [
# New simplified tabs (always available)
"input_tab",
"results_tab",
]
def __getattr__(name):
"""Lazy import legacy modules only when accessed."""
if name == "room":
from . import room
return room
elif name == "images":
from . import images
return images
elif name == "observations":
from . import observations
return observations
elif name == "results":
from . import results
return results
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|