🎮Interactive Instantiation (UI)
As configuration spaces become more complex, manual instantiation can become challenging.
To tackle this challenge, Hypster provides an interactive UI for Jupyter notebooks on JupyterLab, VSCode, Google Colab, and any platform that supports ipywidgets
.
Using the interactive UI makes configuration management more intuitive and less error-prone.
Manual vs Interactive Configuration
Manual Configuration
Interactive Configuration
VS Code Setup
For VS Code users with dark theme:
Example: Conditional Configuration
Here's an example showing how the UI handles conditional parameters:
The UI automatically:
Shows/hides parameters based on conditions
Validates parameter values
Updates dependent parameter values
Example: Nested Configurations
The UI also handles nested configurations elegantly:
Working with Results
The results
object from interactive_config
is dynamic and always reflects the current UI state:
Key Features
Real-time Updates: UI components update automatically based on conditions
Validation: Prevents invalid parameter combinations
Nested Support: Handles complex nested configurations
Type-specific Inputs: Provides appropriate input widgets for each parameter type
VS Code Integration: Seamless integration with VS Code's Jupyter extension
Last updated