Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ hf_hub_download(repo_id="Alesteba/deep_model_03", filename="unet.pth")
|
|
15 |
# load model
|
16 |
|
17 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
18 |
-
model = torch.jit.load("
|
19 |
model = model.cpu()
|
20 |
|
21 |
def transform_image(image):
|
|
|
15 |
# load model
|
16 |
|
17 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
18 |
+
model = torch.jit.load("unet.pth")
|
19 |
model = model.cpu()
|
20 |
|
21 |
def transform_image(image):
|