svsaurav95 commited on
Commit
21c69a7
·
verified ·
1 Parent(s): 69c7bf1

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -43,7 +43,7 @@ class MobileViTSegmentation(nn.Module):
43
  @st.cache_resource
44
  def load_model():
45
  model = MobileViTSegmentation()
46
- state_dict = torch.load("model/mobilevit_teeth_segmentation.pth", map_location="cpu")
47
  model.load_state_dict(state_dict)
48
  model.eval()
49
  return model
 
43
  @st.cache_resource
44
  def load_model():
45
  model = MobileViTSegmentation()
46
+ state_dict = torch.load("mobilevit_teeth_segmentation.pth", map_location="cpu")
47
  model.load_state_dict(state_dict)
48
  model.eval()
49
  return model