-
Notifications
You must be signed in to change notification settings - Fork 4
Server first #18
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
Merged
Merged
Server first #18
Conversation
This file contains hidden or 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
…e pipeline and UI, and add comprehensive tests.
…due to canny edges blending
…hared persistence - HistoryManager with deduplication, backup rotation, and in-memory cache - Search/filter UI with live search (keyword, model, date range) - Fix null model_type/model_path/denoise in metadata - 33 unit tests
Flux2/SDXL pipelines - Replace Streamlit-based UI with a modern React + Vite + Mantine frontend. - Refactor backend server with enhanced batching, model type detection, and synchronized previews. - Implement SDXL Refiner and ControlNet support in the core generation pipeline. - Optimize Flux2 Klein integration with corrected RoPE logic and resolution-aware sampling. - Enhance ModelCache with multi-checkpoint support and LRU eviction. - Improve memory management and HiDiffusion compatibility across model architectures. - Remove legacy Streamlit components, configuration, and app.py.
workflows - Resolve UnboundLocalError for hf_neg in Pipeline.py by defining prompts before conditional blocks. - Integrate ADetailer into run_img2img and run_controlnet pipeline paths. - Fix ADetailer.apply argument order where negative conditioning was incorrectly passed as positive. - Replace non-existent sampler_object with ksampler in ADetailer.py. - Fix device mismatch RuntimeError in tensor_util.py by ensuring consistent tensor placement in tensor_paste. - Update /api/models to return model capabilities and implement intelligent UI disabling in GenerationSettings.tsx based on model support. - Add E2E verification test for comprehensive feature testing across SD1.5, SDXL, and Flux architectures.
- Flatten Adetailer image results in src/Core/Pipeline.py to prevent nested lists in batched result - Add defensive type-checking in server.py's image processing loop to safely handle unexpected data structures. - Fixes a crash occurring when Adetailer is enabled during batched generation.
- Synchronize frontend default sampler (dpmpp_sde_cfgpp) and scheduler (ays) with server defaults. - Implement automatic model selection on load to ensure valid settings are initialized. - Add missing supported samplers to the selection list. - Fix Model selector dropdown issue by disabling 'searchable' and stabilizing options with useMemo. - Improve UX for Refiner and ControlNet selectors with better empty states.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new React + TypeScript + Vite-based frontend application, replacing the previous Streamlit configuration. The new setup includes a modern UI built with Mantine, state management with Zustand, image upload and preview capabilities, a gallery, and API/WebSocket integration for real-time updates. Additionally, it establishes a robust ESLint configuration and PostCSS setup for styling.
Frontend application setup and configuration:
frontenddirectory with a React + TypeScript + Vite project, includingpackage.jsonwith dependencies for Mantine UI, Zustand, Axios, and development tools like Vite and ESLint.frontend/README.md. [1] [2]postcss.config.cjs.Core application structure and UI:
App.tsx, featuring a responsive layout with a header, navigation sidebar, color scheme toggle, server connection status, and integration of key components (GenerationSettings,ImagePreview,Gallery).index.cssandApp.css. [1] [2]main.tsx, and provided a basic HTML template inindex.html. [1] [2]Image generation, preview, and gallery features:
api/client.ts) for image generation, model listing, and server communication, including WebSocket support for real-time image preview updates.ImagePreviewcomponent to display real-time generation progress and preview images, handling WebSocket messages and progress logic.Gallerycomponent to showcase recent image generations, and anImageInputcomponent for drag-and-drop image uploads with preview and removal functionality. [1] [2]Removal of legacy configuration:
.streamlit/config.toml, indicating the deprecation of Streamlit in favor of the new React-based frontend.