File size: 167 Bytes
8b04a03
 
 
 
1
2
3
4
5
import streamlit as st
from transformers import pipeline

semantic_segmentation = pipeline("image-segmentation", "nvidia/segformer-b1-finetuned-cityscapes-1024-1024")