Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ cell_types = [
|
|
27 |
|
28 |
actual_ids = [30,52,71,91,104,109,118,126,131,137,141,164,178,182,197,208,218,226,232,242,244,248,256,262,270,282,293,297,308,323,339,344,350,355,364,372,379,389,395,401,410,415,418,424,429,434,440,444,469,479,487,509]
|
29 |
gallery_ids = [5,6,8,9,10,11,12,13,14,15,16,17,18,19,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,42,43,44,45,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,64,66,67]
|
30 |
-
|
31 |
def load_nifti(file):
|
32 |
global coronal_slices
|
33 |
img = nib.load(file.name)
|
|
|
27 |
|
28 |
actual_ids = [30,52,71,91,104,109,118,126,131,137,141,164,178,182,197,208,218,226,232,242,244,248,256,262,270,282,293,297,308,323,339,344,350,355,364,372,379,389,395,401,410,415,418,424,429,434,440,444,469,479,487,509]
|
29 |
gallery_ids = [5,6,8,9,10,11,12,13,14,15,16,17,18,19,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,42,43,44,45,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,64,66,67]
|
30 |
+
gallery_ids.reverse()
|
31 |
def load_nifti(file):
|
32 |
global coronal_slices
|
33 |
img = nib.load(file.name)
|