MCPcopy Create free account
hub / github.com/HKUDS/OpenSpace / create_ui

Function create_ui

openspace/utils/ui.py:438–446  ·  view source on GitHub ↗

Create OpenSpace UI instance Args: enable_live: Whether to enable live display updates compact: Use compact layout for smaller terminals

(enable_live: bool = True, compact: bool = False)

Source from the content-addressed store, hash-verified

436
437
438def create_ui(enable_live: bool = True, compact: bool = False) -> OpenSpaceUI:
439 """
440 Create OpenSpace UI instance
441
442 Args:
443 enable_live: Whether to enable live display updates
444 compact: Use compact layout for smaller terminals
445 """
446 return OpenSpaceUI(enable_live=enable_live, compact=compact)

Callers 1

_setup_uiFunction · 0.90

Calls 1

OpenSpaceUIClass · 0.85

Tested by

no test coverage detected