Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from PIL import Image
|
|
5 |
from torchvision import transforms
|
6 |
from segment_anything import SamAutomaticMaskGenerator, sam_model_registry
|
7 |
import matplotlib.pyplot as plt
|
|
|
8 |
# import segmentation_models_pytorch as smp
|
9 |
|
10 |
|
|
|
5 |
from torchvision import transforms
|
6 |
from segment_anything import SamAutomaticMaskGenerator, sam_model_registry
|
7 |
import matplotlib.pyplot as plt
|
8 |
+
import gradio as gr
|
9 |
# import segmentation_models_pytorch as smp
|
10 |
|
11 |
|