Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -522,7 +522,7 @@ custom_js = ""
|
|
| 522 |
# 전역 레이어 매니저
|
| 523 |
layer_manager = LayerManager()
|
| 524 |
|
| 525 |
-
with gr.Blocks() as demo:
|
| 526 |
with gr.Column(elem_id="col-container"):
|
| 527 |
gr.Markdown("# **SAM3 Layer Segmentation Tool**", elem_id="main-title")
|
| 528 |
gr.Markdown("**Layer-based object separation and area analysis tool** | 1. Create layers 2. Select point mode and click 3. Run segmentation (processes all layers)")
|
|
@@ -678,4 +678,4 @@ with gr.Blocks() as demo:
|
|
| 678 |
)
|
| 679 |
|
| 680 |
if __name__ == "__main__":
|
| 681 |
-
demo.launch(show_error=True
|
|
|
|
| 522 |
# 전역 레이어 매니저
|
| 523 |
layer_manager = LayerManager()
|
| 524 |
|
| 525 |
+
with gr.Blocks(theme=app_theme, css=custom_css) as demo:
|
| 526 |
with gr.Column(elem_id="col-container"):
|
| 527 |
gr.Markdown("# **SAM3 Layer Segmentation Tool**", elem_id="main-title")
|
| 528 |
gr.Markdown("**Layer-based object separation and area analysis tool** | 1. Create layers 2. Select point mode and click 3. Run segmentation (processes all layers)")
|
|
|
|
| 678 |
)
|
| 679 |
|
| 680 |
if __name__ == "__main__":
|
| 681 |
+
demo.launch(show_error=True)
|