kdw7921 commited on
Commit
3147eac
1 Parent(s): 96bfb2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,7 +11,8 @@ feature_extractor = SegformerFeatureExtractor.from_pretrained(
11
  "nickmuchi/segformer-b4-finetuned-segments-sidewalk"
12
  )
13
  model = TFSegformerForSemanticSegmentation.from_pretrained(
14
- "nickmuchi/segformer-b4-finetuned-segments-sidewalk"
 
15
  )
16
 
17
  def ade_palette():
 
11
  "nickmuchi/segformer-b4-finetuned-segments-sidewalk"
12
  )
13
  model = TFSegformerForSemanticSegmentation.from_pretrained(
14
+ "nickmuchi/segformer-b4-finetuned-segments-sidewalk",
15
+ from_pt=True
16
  )
17
 
18
  def ade_palette():