salaz055 commited on
Commit
c94d411
·
1 Parent(s): ce4a4a6

import numpy

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from transformers import AutoFeatureExtractor, SegformerForSemanticSegmentation
2
  import gradio as gr
3
  import torch
 
4
 
5
  extractor = AutoFeatureExtractor.from_pretrained("salaz055/my_extractor_segmentation_model")
6
  model = SegformerForSemanticSegmentation.from_pretrained("salaz055/my-segmentation-model")
 
1
  from transformers import AutoFeatureExtractor, SegformerForSemanticSegmentation
2
  import gradio as gr
3
  import torch
4
+ import numpy as np
5
 
6
  extractor = AutoFeatureExtractor.from_pretrained("salaz055/my_extractor_segmentation_model")
7
  model = SegformerForSemanticSegmentation.from_pretrained("salaz055/my-segmentation-model")