Refactor Gradio UI in QIE_prompt_generator.py to encapsulate the layout within a build_ui function, enhancing modularity and readability. The update includes improved organization of input fields and maintains the existing functionality for prompt generation.
Refactor UI in app.py to implement a tabbed layout for the Trainer and Prompt Generator sections, enhancing organization and user experience. The update includes restructured input fields and improved accessibility for image uploads and prompt generation functionalities.