interior_room / run_local.py
SpacelyJohn's picture
Upload 12 files
a178a59 verified
raw
history blame contribute delete
968 Bytes
#!/usr/bin/env python3
"""
Local development version of Spacely AI Interior Designer
Run this for fast local development on Mac
"""
import gradio as gr
import sys
import os
# Add current directory to path
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# Import the main app
from app_gradio import create_interface
def main():
print("🏠 Starting Spacely AI Interior Designer (Local Mode)")
print("πŸ’» Running on Mac with local GPU acceleration")
print("πŸš€ Fast development mode - no cloud delays!")
# Create interface
demo = create_interface()
# Launch with local settings
demo.launch(
server_name="0.0.0.0", # Allow external connections
server_port=7860, # Standard Gradio port
share=False, # No public link needed
show_error=True, # Show detailed errors
debug=True # Enable debug mode
)
if __name__ == "__main__":
main()