Refactor output handling in app.py to use state variables for better clarity and maintainability, while removing unnecessary CSS specification in the Blocks context.
Update inference output in app.py to yield Gradio updates instead of images, streamlining the generator's response structure for improved integration with the UI.
Refactor inference function in app.py to yield results instead of returning, enhancing the generator's output structure. Adjust UI layout by increasing input image height and repositioning the generate button for better accessibility.
Enhance inference process in app.py to support stage2-only generation, updating the output structure to return both stage2 and combined results. Adjust UI elements for improved clarity and maintainability.
Refactor app.py to comment out unused imports and disable stage2-only generation, while updating the inference output structure to return only the combined result. Adjust UI elements for clarity and maintainability.
Refactor inference process in app.py to support stage2-only generation and update output structure to return both stage2 and combined results. Adjust UI layout for improved result display and enhance generator function for reproducibility.
Add default weight configuration for Stage 1 and Stage 2 LoRAs in app.py, and update README.md to document new environment variables for customization.
Refactor app.py to implement a single-pass inference function that combines multiple LoRAs, updating the README.md to reflect the new functionality and usage instructions.