-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes model and dataset loading to use init_spec() and constructors.
* Changes Global Settings to provide UI elements based on the Model or Dataset's init_spec() contained in a LitApp's metadata. * Changes the create_dataset and create_model HTTP APIs to: * Accepting and validating config objects via the POST data * Initialize Models and Datasets by passing configs to Python constructors * Raising errors instead of returning None, so that the user can see where/understand why instantiation failed. * Updating the client's ApiService to pass init_spec configs from the UI to the HTTP Requests. PiperOrigin-RevId: 523096706
- Loading branch information
1 parent
c0ff131
commit 99e78ff
Showing
11 changed files
with
549 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.