app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
#
|
3 |
-
from transformers import SegformerFeatureExtractor,
|
4 |
from PIL import Image
|
5 |
import requests
|
6 |
#
|
|
|
1 |
import gradio as gr
|
2 |
#
|
3 |
+
from transformers import SegformerFeatureExtractor, TFSegformerForSemanticSegmentation
|
4 |
from PIL import Image
|
5 |
import requests
|
6 |
#
|