Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.3.0
metadata
title: Scene Foundry Demo
emoji: 🏢
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
Room Layout Generator (Based on Infinigen)
A web application for generating indoor layouts from natural language. Built on Infinigen engine with clean interface and modular architecture.
Quick Start
1. Requirements
- Python 3.10+
- Blender 3.0+ (for format conversion)
- OpenAI API Key
2. Installation
Step 1: Install Infinigen
Follow the official Infinigen installation guide: https://github.com/princeton-vl/infinigen/blob/main/docs/Installation.md
Step 2: Install Web Interface Dependencies
# Clone this repository
git clone https://github.com/gunjyo0817/Room-Layout-Generator.git
cd Room-Layout-Generator
# Activate the Infinigen conda environment
conda activate infinigen
# Install additional dependencies
pip install -r requirements.txt
3. Configuration
Create .env file and configure:
# OpenAI API
OPENAI_API_KEY=your-api-key-here
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o-mini
# Blender path (adjust for your system)
BLENDER_PATH=/Applications/Blender.app/Contents/MacOS/Blender
# Gradio configuration
GRADIO_SHARE=true
4. Run
python app.py
Open the displayed URL in your browser (usually http://127.0.0.1:7860)
Usage Examples
Describe your requirements in the web interface:
Examples:
2 bedrooms with private bathrooms, living room 1.5x bedroom size
3-bedroom house, 2 bathrooms, kitchen connected to dining room
1 bedroom with ensuite bathroom, open kitchen connected to living room
Output Files
Generated files are located at:
- Blender File:
outputs/indoors/coarse/scene.blend - Web Model:
outputs/indoors/coarse/output_scene.glb - Configuration:
config/generated_config.yaml
License
This project is built on Infinigen and follows the same license. See LICENSE.
Acknowledgements
This project is built on the Infinigen engine.
Related Resources: