joshangngoching commited on
Commit
363396a
·
verified ·
1 Parent(s): 8fe3551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from PIL import Image
3
  # from transformers import pipeline
4
 
5
- semantic_segmentation = pipeline("image-segmentation", "nvidia/segformer-b1-finetuned-cityscapes-1024-1024")
6
 
7
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
8
  if uploaded_file is not None:
 
2
  from PIL import Image
3
  # from transformers import pipeline
4
 
5
+ # semantic_segmentation = pipeline("image-segmentation", "nvidia/segformer-b1-finetuned-cityscapes-1024-1024")
6
 
7
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
8
  if uploaded_file is not None: