Deevyankar commited on
Commit
53fdfd6
·
verified ·
1 Parent(s): 7823b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', antsxnet_cache_directory=None, verbose=True)
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,