Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import numpy as np
|
|
5 |
from PIL import Image
|
6 |
from torchvision import transforms
|
7 |
from segment_anything import SamAutomaticMaskGenerator, sam_model_registry
|
8 |
-
import segmentation_models_pytorch as smp
|
9 |
|
10 |
def load_model(model_type):
|
11 |
# Model loading simplified for clarity
|
|
|
5 |
from PIL import Image
|
6 |
from torchvision import transforms
|
7 |
from segment_anything import SamAutomaticMaskGenerator, sam_model_registry
|
8 |
+
# import segmentation_models_pytorch as smp
|
9 |
|
10 |
def load_model(model_type):
|
11 |
# Model loading simplified for clarity
|