Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
@@ -245,7 +245,9 @@ class ProstateSegmentationAlgorithm(SegmentationAlgorithm):
|
|
245 |
|
246 |
def predict(input_file):
|
247 |
print("Making prediction")
|
248 |
-
|
|
|
|
|
249 |
return input_file
|
250 |
|
251 |
print("Starting interface")
|
|
|
245 |
|
246 |
def predict(input_file):
|
247 |
print("Making prediction")
|
248 |
+
image = sitk.ReadImage(input_file)
|
249 |
+
print(image.size)
|
250 |
+
ProstateSegmentationAlgorithm().process()
|
251 |
return input_file
|
252 |
|
253 |
print("Starting interface")
|