ora editor
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user