gaur3009 commited on
Commit
ac99583
·
verified ·
1 Parent(s): 32a5206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  import cv2
5
  from PIL import Image
6
  from torchvision import transforms
7
- from cloth-segmentation.networks.u2net import U2NET # Import U²-Net
8
 
9
  # Load U²-Net model
10
  model_path = "cloth-segmentation/models/u2net.pth" # Ensure this path is correct
 
4
  import cv2
5
  from PIL import Image
6
  from torchvision import transforms
7
+ from cloth_segmentation.networks.u2net import U2NET # Import U²-Net
8
 
9
  # Load U²-Net model
10
  model_path = "cloth-segmentation/models/u2net.pth" # Ensure this path is correct