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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user