nazlicanto commited on
Commit
c2f84d5
1 Parent(s): d65d6ab

Update app06.py

Browse files
Files changed (1) hide show
  1. app06.py +1 -1
app06.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  import os
7
 
8
  # Load the model and processor
9
- model_dir = "/home/user/app/defectdetection/model"
10
  model = SegformerForSemanticSegmentation.from_pretrained(model_dir)
11
  processor = SegformerImageProcessor.from_pretrained(model_dir)
12
  model.eval()
 
6
  import os
7
 
8
  # Load the model and processor
9
+ model_dir = "/home/user/app/defectdetection/model/"
10
  model = SegformerForSemanticSegmentation.from_pretrained(model_dir)
11
  processor = SegformerImageProcessor.from_pretrained(model_dir)
12
  model.eval()