Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def pre_process(image):
|
|
| 35 |
y = ants.denoise_image(yn, ants.get_mask(y))
|
| 36 |
with st.spinner('brain_extraction fn. running...'):
|
| 37 |
x = antspynet.utilities.brain_extraction(
|
| 38 |
-
y, modality='t1',
|
| 39 |
y = y*x
|
| 40 |
with st.spinner('Registering from template..'):
|
| 41 |
y1 = ants.registration(fixed=template, moving=y,
|
|
|
|
| 35 |
y = ants.denoise_image(yn, ants.get_mask(y))
|
| 36 |
with st.spinner('brain_extraction fn. running...'):
|
| 37 |
x = antspynet.utilities.brain_extraction(
|
| 38 |
+
y, modality='t1', verbose=True)
|
| 39 |
y = y*x
|
| 40 |
with st.spinner('Registering from template..'):
|
| 41 |
y1 = ants.registration(fixed=template, moving=y,
|