Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from monai import bundle
|
|
6 |
BUNDLE_NAME = 'spleen_ct_segmentation_v0.1.0'
|
7 |
BUNDLE_PATH = os.path.join(torch.hub.get_dir(), 'bundle', BUNDLE_NAME)
|
8 |
|
9 |
-
examples = ['examples/spleen_46.nii.gz']
|
10 |
|
11 |
model, _, _ = bundle.load(
|
12 |
name = BUNDLE_NAME,
|
@@ -44,7 +44,7 @@ iface = gr.Interface(
|
|
44 |
],
|
45 |
outputs=['image', 'image'],
|
46 |
title='Segment the Spleen from a CT Scan using MONAI',
|
47 |
-
examples=examples,
|
48 |
)
|
49 |
|
50 |
iface.launch()
|
|
|
6 |
BUNDLE_NAME = 'spleen_ct_segmentation_v0.1.0'
|
7 |
BUNDLE_PATH = os.path.join(torch.hub.get_dir(), 'bundle', BUNDLE_NAME)
|
8 |
|
9 |
+
#examples = ['examples/spleen_46.nii.gz']
|
10 |
|
11 |
model, _, _ = bundle.load(
|
12 |
name = BUNDLE_NAME,
|
|
|
44 |
],
|
45 |
outputs=['image', 'image'],
|
46 |
title='Segment the Spleen from a CT Scan using MONAI',
|
47 |
+
##examples=examples,
|
48 |
)
|
49 |
|
50 |
iface.launch()
|