FrancescoLR commited on
Commit
95075bf
·
verified ·
1 Parent(s): f2ca9b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import nibabel as nib
8
  import matplotlib.pyplot as plt
9
  import spaces # Import spaces for GPU decoration
10
  import numpy as np
11
- from scipy.ndimage import center_of_mass, zoom
12
 
13
  # Define paths
14
  MODEL_DIR = "./model" # Local directory to store the downloaded model
 
8
  import matplotlib.pyplot as plt
9
  import spaces # Import spaces for GPU decoration
10
  import numpy as np
11
+ from scipy.ndimage import center_of_mass, zoom, label, generate_binary_structure
12
 
13
  # Define paths
14
  MODEL_DIR = "./model" # Local directory to store the downloaded model