Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ import torch
|
|
7 |
from PIL import Image, ImageOps
|
8 |
import numpy as np
|
9 |
os.mkdir("data")
|
10 |
-
os.mkdir("models")
|
11 |
os.rename("best.ckpt", "models/best.ckpt")
|
12 |
os.mkdir("dataout")
|
13 |
model = hub.Module(name='U2Net')
|
|
|
7 |
from PIL import Image, ImageOps
|
8 |
import numpy as np
|
9 |
os.mkdir("data")
|
|
|
10 |
os.rename("best.ckpt", "models/best.ckpt")
|
11 |
os.mkdir("dataout")
|
12 |
model = hub.Module(name='U2Net')
|