Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UI for managing app settings #43

Closed
7 tasks done
seruva19 opened this issue May 11, 2023 · 0 comments
Closed
7 tasks done

Add UI for managing app settings #43

seruva19 opened this issue May 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@seruva19
Copy link
Owner

seruva19 commented May 11, 2023

Some of the settings are only applied after UI is shown (model is loaded only on first click on "Generate", etc). Therefore, it would be nice to have opportunity to tune app's settings in UI (instead of CLI).
Also it might be crucial for users to store their session settings in a file and load them on app's start. Especially since changing some settings would require restart of whole app.

What should be done:

  • Store settings in file (YAML)
  • Read/save settings file
  • UI for editing options (under "Settings" tab)
  • Separate class (KubinOptions) for managing options and settings (currently CLI options are stored directly in argparse output, which is not convenient)
  • Improve UX (currently switching option checkboxes is done server-side, therefore might feel slow and clunky)
  • Clarify which settings require restarting app and which do not
  • Method for restarting app, including gradio (perhaps by call to dedicated FastAPI route that will kill current gradio process and start new one? idk)
@seruva19 seruva19 added enhancement New feature or request needs research Requires further research labels May 11, 2023
@seruva19 seruva19 removed the needs research Requires further research label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant