Add client logging and improve mask extraction

- Added console.log statements for debugging frontend interactions
- Fixed canvas setup with proper logging
- Added logging to polygon drawing and mask extraction
- Mask extraction now properly loads and passes base image to ComfyUI
- Polygon overlay support when using polygon hint
- Added ora_editor __init__.py for proper package imports
- Updated README with debugging instructions and improved documentation
This commit is contained in:
2026-03-27 09:39:47 -07:00
parent 039a7586d1
commit 0c1fb8ccca
3 changed files with 84 additions and 3 deletions

View File

@@ -10,9 +10,9 @@ from PIL import Image
# Setup path
sys.path.insert(0, str(Path(__file__).parent.parent))
from flask import Flask
from ora_editor.app import app
# Import the ora_editor package (not the app module directly)
import ora_editor
app = ora_editor.app
def test_index():