Spaces:
Running
Running
Commit ·
d73e2bd
1
Parent(s): 8890ad0
Fix: Revert parameter move for Gradio 4.44.0 compatibility
Browse files
app.py
CHANGED
|
@@ -269,7 +269,12 @@ def load_example(example_name):
|
|
| 269 |
|
| 270 |
# Create Gradio interface
|
| 271 |
with gr.Blocks(
|
| 272 |
-
title="MONAI WholeBody CT Segmentation"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
) as demo:
|
| 274 |
gr.Markdown("""
|
| 275 |
# 🏥 MONAI WholeBody CT Segmentation
|
|
@@ -405,10 +410,4 @@ if __name__ == "__main__":
|
|
| 405 |
os.makedirs("examples", exist_ok=True)
|
| 406 |
|
| 407 |
# Launch the app
|
| 408 |
-
demo.launch(
|
| 409 |
-
theme=gr.themes.Soft(),
|
| 410 |
-
css="""
|
| 411 |
-
.gradio-container {max-width: 1200px !important}
|
| 412 |
-
.output-image {min-height: 500px}
|
| 413 |
-
"""
|
| 414 |
-
)
|
|
|
|
| 269 |
|
| 270 |
# Create Gradio interface
|
| 271 |
with gr.Blocks(
|
| 272 |
+
title="MONAI WholeBody CT Segmentation",
|
| 273 |
+
theme=gr.themes.Soft(),
|
| 274 |
+
css="""
|
| 275 |
+
.gradio-container {max-width: 1200px !important}
|
| 276 |
+
.output-image {min-height: 500px}
|
| 277 |
+
"""
|
| 278 |
) as demo:
|
| 279 |
gr.Markdown("""
|
| 280 |
# 🏥 MONAI WholeBody CT Segmentation
|
|
|
|
| 410 |
os.makedirs("examples", exist_ok=True)
|
| 411 |
|
| 412 |
# Launch the app
|
| 413 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|