dd
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from PIL import Image
|
|
4 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
5 |
from IPython.display import display
|
6 |
import torchvision.transforms as T
|
|
|
7 |
|
8 |
def greet(url):
|
9 |
# load Mask2Former fine-tuned on Cityscapes semantic segmentation
|
|
|
4 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
5 |
from IPython.display import display
|
6 |
import torchvision.transforms as T
|
7 |
+
import gradio as gr
|
8 |
|
9 |
def greet(url):
|
10 |
# load Mask2Former fine-tuned on Cityscapes semantic segmentation
|