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

UI Improvements, Secrets Handling, Config Management #9

Closed
wants to merge 17 commits into from
Closed

Conversation

rtuszik
Copy link
Owner

@rtuszik rtuszik commented Sep 3, 2024

No description provided.

rtuszik added 17 commits August 26, 2024 19:10
Remove the cache-from and cache-to options from the docker/build-push-action
step in the Docker build and push workflow. This change may impact build
times but simplifies the workflow configuration.
- Restructure main UI layout using grid system
- Adjust card sizes and add scrolling for better space utilization
- Increase spinner size for better visibility
- Replace JSON-based settings with dynaconf
- Update GUI to use new config system
- Add settings.toml for default configuration
- Modify user model handling in GUI
- Change trigger from `push` to `release` with `released` event type to only run on published releases
- Move settings.toml to root directory
- Implement local settings override with settings.local.toml
- Add reset to default functionality in GUI
- Update dependencies in requirements.txt
- Refactor settings handling in ImageGeneratorGUI class
- Introduce Dynaconf for managing application settings
- Load settings from `settings.toml`, `settings.local.toml`, and `.secrets.toml`
- Provide default settings and allow overriding via environment variables and local configuration
- Update GUI to use the new configuration system
- Add `settings.toml` file with default configuration
- Add `settings.local.toml` to .gitignore for local customizations
…I responsiveness

✨ (gui.py): add async support for updating and selecting models
…ents

✨ (gui.py): add user model management popup for adding and deleting models
♻️ (replicate_api.py): remove get_flux_fine_tune_models method and related comments
- Introduce a single select dropdown for managing Replicate models
- Remove separate input field for Replicate model
- Integrate user-added models management into the model select dropdown
- Update model selection logic to update the selected model
- Persist user-added models in the local settings file
- Add `settings.local.toml` to .gitignore to exclude local configuration overrides from version control
…tion

- Add a new `models.user_added` configuration to store user-added models
♻️ (gui.py): refactor open_user_model_popup to be async
…nd async support

✨ (gui.py): add refreshable model list and async save settings
🔧 (gui.py): use constant for local settings file path
Implement API key input in settings, validation before image
generation, and secure storage in .secrets.toml. Update GUI to
include API key setup prompts and error handling.
Remove unnecessary comments and adjust notification settings
@rtuszik rtuszik closed this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant