Spaces:
Runtime error
Runtime error
Commit History
-
Refactor generate_design method in ProductionDesignModel for improved image handling and variation generation
anbucur- Updated the method to accept various image types (PIL Image, numpy array, torch tensor) and ensure proper conversion to RGB format. - Enhanced parameter handling by consolidating the retrieval of prompt, number of variations, and other settings from kwargs. - Implemented distinct seed generation for each variation to ensure diversity in outputs. - Improved error handling and logging for better traceability during the design generation process. - Cleared CUDA cache after each variation generation to optimize memory usage.5d8e518 -
Refactor prompt generation logic in app.py to enhance validation and user experience
anbucur- Introduced a helper function to validate input values, ensuring that 'None' and 'Keep Existing' selections are excluded from the prompt generation. - Improved the construction of prompt parts for room, floor, wall, and accessories by checking for valid values before appending to the prompt. - Streamlined the logic for adding accessories and custom text, ensuring only valid entries are included in the final prompt. - Enhanced overall clarity and maintainability of the code by reducing redundancy and improving the structure of the prompt generation process.25e8e9c -
Refactor UI layout and enhance design options in app.py
anbucur- Streamlined the user interface by reorganizing layout and improving dropdown options for room types, floor materials, wall treatments, and decorative elements. - Introduced new choices for floor and wall options, including various materials, colors, and patterns, enhancing user customization capabilities. - Updated the prompt generation logic to ensure valid selections and improve overall user experience. - Removed redundant code and improved clarity in the UI component structure.e502d15 -
Enhance UI dropdown options and improve ProductionDesignModel initialization
anbucur- Updated UI dropdowns in app.py to provide a comprehensive list of choices for room types, design styles, and color moods, enhancing user experience. - Refactored layout for better organization of UI elements. - Improved the ProductionDesignModel class in prod_model.py by implementing a more robust model initialization process, including advanced architecture setup and detailed logging for better error tracking. - Added new model dependencies in requirements.txt to support the updated functionality.d81760a -
Refactor UI dropdowns and update prompt logic to include 'None' as a valid choice. Enhanced validation for floor, wall, and accessory options to prevent 'Keep Existing' or 'None' selections from being processed. This improves user experience by providing clearer options and ensuring valid inputs.
anbucur8c93fbf -
Fix seed parameter conversion in ProductionDesignModel class
anbucur01eb3dc -
Enhance seed handling and logging in ProductionDesignModel class
anbucur- Improved seed parameter handling to use a default value if not provided. - Added logging for the base seed and validated parameters (num_steps, guidance_scale, strength) for better traceability.9cd6532 -
Add prod
anbucur7ccbf05 -
Added functionality
anbucur4e4b650
-
sdkfjs
anbucur39751c2
-
upgrade gradio
41a92c7 -
upgrade gradio
6369e62
-
init
f17a90e
-
init
cf35ebe -
init
3b49dff -
init
f493b13 -
init
8df3de7 -
init
02742e5 -
init
bff5c84 -
init
ac6bf8a -
init
432c22f -
init
a920397 -
init
caddeb4 -
init
93b410f -
init
f732e49 -
init
ab3659a -
init
59ee13b -
init
60efe0d -
init
b47e7c8
-
Merge branch 'main' of hf.co:spaces/MykolaL/StableDesign into main
f678172 -
init
882873e -
Upload diffusion_pytorch_model.safetensors
Verified signature3b199fd -
init
ee0bcfb -
init
87b4a1a -
init
bf2495a -
Upload 11 files
Verified signature60f5285 -
initial commit
Verified signature22ede16