ora editor

This commit is contained in:
2026-03-27 23:33:04 -07:00
parent cdc9ca2f92
commit c94988561c
36 changed files with 1564 additions and 125 deletions

View File

@@ -12,7 +12,7 @@ sys.path.insert(0, str(Path(__file__).parent.parent))
from ora_editor.config import TEMP_DIR
from ora_editor.routes import (
files_bp, layers_bp, images_bp, polygon_bp, mask_bp, krita_bp
files_bp, layers_bp, images_bp, polygon_bp, mask_bp, krita_bp, sam_bp
)
logging.basicConfig(level=logging.DEBUG)
@@ -34,7 +34,8 @@ app.register_blueprint(images_bp)
app.register_blueprint(polygon_bp)
app.register_blueprint(mask_bp)
app.register_blueprint(krita_bp)
app.register_blueprint(sam_bp)
if __name__ == '__main__':
app.run(debug=False, port=5001, host='127.0.0.1')
app.run(debug=False, port=5001, host='0.0.0.0')