Tanusree88 commited on
Commit
6beb603
·
verified ·
1 Parent(s): 998c9f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import os
2
  import zipfile
3
  import numpy as np
4
  import torch
5
- from transformers import SegformerForImageSegmentation, ResNetForImageClassification, AdamW
 
6
  from PIL import Image
7
  from torch.utils.data import Dataset, DataLoader
8
  import streamlit as st
 
2
  import zipfile
3
  import numpy as np
4
  import torch
5
+ from transformers import SegformerForSemanticSegmentation, SegformerFeatureExtractor
6
+ from transformers import ResNetForImageClassification, AdamW
7
  from PIL import Image
8
  from torch.utils.data import Dataset, DataLoader
9
  import streamlit as st